Comment 27 for bug 307462

Revision history for this message
Lucas Nussbaum (lucas) wrote : Re: [Bug 307462] Re: ruby is slow because of --enable-pthreads

On 26/04/10 at 17:54 -0000, Brian Takita wrote:
> I do want a good solution, however, it seems the ruby & debian community
> are often at odds. I somewhat understand why it is so difficult to
> reconcile.

Some people on the Ruby side like to throw fuel on the fire, which
doesn't help. But in general, I think that we have a pretty good
understanding of our disagreements. The situation is very complex, and
users always seem to think that there's a simple solution. But it's easy
to solve 80% of the problems, very much harder to solve the remaining
20%.

> The thing I'm worried about is that I do not use the ubuntu/debian ruby
> stack at all, because it simply does not do what I want it to do. I
> can't use it. I'm sorry, but that is the truth. I think that a number of
> other developers agree with me too.

On the other hand, lots of people are not that unhappy with the state of
Ruby in Debian/Ubuntu.

> Using the REE package is not a slight for the maintainers of the Ruby
> package. MRI is slow, and REE fixes some of the slowness. I just wanted
> to share because others may want a faster version of Ruby that is .deb
> packaged.

It would be better if the energy spent on REE would be spent on
improving Ruby 1.8 or 1.9... But anyway. There are currently plans to
provide a way to support several ruby versions at the same time, with
all the libraries available for all implementations. It might make sense
to package REE at this point (or just apply the patches to a special
ruby1.8 build).

> Maybe RVM (Ruby version manager) will be a good solution. You can have a
> RVM package using the ruby with --enable-pthreads to keep compatibility
> with tk, and have a streamlined version of ruby (no pthreads MRI or REE)
> for general development. Maybe a rule that the number of packages that
> depend on the streamlined version of ruby should be limited?

Are you aware that RVM messes with your .bash* to achieve what it wants
to do?
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |