Re:Next Generation Ruby packages for Ubuntu
by comice on Wednesday April 11, 2012 @09:49AM
(#3827492)
imo, I don't think Debian and Ubuntu should do this - it's not really their job. Distros should, for the most part, just be packaging upstream code and not maintaining an unofficial fork.
Though counter to this, RedHat basically maintain their own fork of the Linux kernel but it's a bit of a special case, and they do employ full time kernel developers to do it!
Re:Next Generation Ruby packages for Ubuntu
by sciurus on Wednesday April 11, 2012 @05:00PM
(#3829605)
I was assuming use of tcmalloc was a supported option when configuring and building Ruby. If it's not, then yeah, probably not the right thing for a distro to do.
If a ruby release didn't have a working debugger but this could be easily patched, then I would expect distros to do that. However, I'm not familiar enough with the ruby ecosystem to know the context of "patched Ruby 1.9.3 to export the right symbols to work with ruby-debug"
Re:Next Generation Ruby packages for Ubuntu
by judofyr on Wednesday April 11, 2012 @11:21AM
(#3827936)
> Why isn't this work a part of an official ruby release?
nobu's lazy sweep collector is in trunk. Sokolov Yura's patches have been submitted; some of the merged, others introduce slight incompatibility issues.
Re:Next Generation Ruby packages for Ubuntu
by omarqureshi on Wednesday April 11, 2012 @07:11AM
(#3826895)
This looks pretty good - it's always painful installing packages from source (RVM included in that) mainly as a time + another thing I have to maintain thing.
I'm not that familiar with Debian package management but would it be much work to also have these packages working on squeeze too? In which case I would most likely start using Debian a lot more.
Re:Next Generation Ruby packages for Ubuntu
by obtu on Wednesday April 11, 2012 @11:36AM
(#3828004)
Rebuilding the source packages should be easy enough, just loop over the .dsc urls and run dget -x; sudo mk-build-deps -i; debuild; sudo debi. pbuilder and sbuild also work for cross-builds, but I didn't get the hang of cross-building entire package graphs.
Re:Next Generation Ruby packages for Ubuntu
by comice on Wednesday April 11, 2012 @07:23AM
(#3826932)
They should build without much modification - it just needs a bit of effort to setup a repository and do the builds. If there is demand for it, we could look at doing it.
Re:Next Generation Ruby packages for Ubuntu
by bradleyland on Wednesday April 11, 2012 @11:04AM
(#3827844)
1.8.7 remains popular, but is declining, and for good reason. While there are some areas where 1.9 branches gave up ground (I'm looking at you `require` [1]), there are other areas where it absolutely smokes older versions; like date formatting functions [2]. Fortunately, Rails processes run for a long time under most app servers, so the performance regression of `require` isn't a huge deal. It is, however, very common to format dates as part of output, which may happen on hundres or thousands of records. There are also some nice features of 1.9 branches that are useful in a practical sense. For example, hash order is presered in Hash under 1.9, so you can get the extra features of a hash, and avoid superfulous sorting (can result in big compute savings).
Re:Next Generation Ruby packages for Ubuntu
by cheald on Wednesday April 11, 2012 @12:26PM
(#3828264)
1.9.3 is great for production. You give up a bit of memory savings compared to REE (since Ruby proper won't be COW-friendly until 2.0), but 1.9.3 in general is faster, has a lot more features, and is widely supported by gems and libraries now.
1.8.7 has been EOL'd, which is as good a reason as any to upgrade.
Though counter to this, RedHat basically maintain their own fork of the Linux kernel but it's a bit of a special case, and they do employ full time kernel developers to do it!
If a ruby release didn't have a working debugger but this could be easily patched, then I would expect distros to do that. However, I'm not familiar enough with the ruby ecosystem to know the context of "patched Ruby 1.9.3 to export the right symbols to work with ruby-debug"
nobu's lazy sweep collector is in trunk. Sokolov Yura's patches have been submitted; some of the merged, others introduce slight incompatibility issues.
I'm not that familiar with Debian package management but would it be much work to also have these packages working on squeeze too? In which case I would most likely start using Debian a lot more.
[1] https://github.com/bradland/require-benchmarks
[2] https://gist.github.com/1352997
1.8.7 has been EOL'd, which is as good a reason as any to upgrade.