From: khaines@... Date: 2007-09-06T06:42:46+09:00 Subject: Re: question on bottleneck of ruby On Thu, 6 Sep 2007, Roger Pack wrote: > Question: if I made the statement "Ruby is slower than some other > interpreted languages" almost anyone could agree with it (slower > computationally, not programmer time-wise). > So my question is...where is the bottleneck? Is it in method lookup? > Is it that method lookup is more frequent, since everything is an > object? Is it in parsing? Storage? Just wondering. Thanks! The dynamic nature of the method dispatch. The overall implementation -- both the tree walker versus a vm, and some of the implementation details. The GC can also be a bottle neck. It stops the world when it runs, and it has to touch every object when it runs, so as the program gets bigger (in object count), the GC burden gets higher. Kirk Haines