"Garriss, Michael" <Michael.Garriss / abacus-direct.com> writes:

> Found this site about how languages stack up against each other.  This test
> put Ruby far behind to others.  Has this changed with 1.7?  What's the deal
> with these results?
>
> http://www.bagley.org/~doug/shootout/bench/prodcons/

That test creates 100,000 ruby threads and uses lots of thread
primitives.  Threads are pretty slow in Ruby because of the way they
are implemented (each thread switch involves a large memcpy() of the
stack).

Ruby should probably steal thread implementation ideas from Perl,
Python or Pike.  ;-) Perhaps this will happen with Rite.