From: "Brian Schröder" Date: 2005-08-11T20:50:24+09:00 Subject: Re: Performance Ruby On 11/08/05, Goel wrote: > Hi, > > Is there any benchmark of the performance of Ruby vs. C, C++, Java etc? > > I couln't find it on the ruby website. > > Regards You could start reading with this thread http://groups-beta.google.com/group/comp.lang.ruby/browse_frm/thread/b4232ad4e01ed3ef/fd98604d40d7a6f3?lnk=st&q=benchmark+comp.lang.ruby&rnum=23&hl=en#fd98604d40d7a6f3 theres a lot about this in the archives. It boils down to ten simple commandments and one addition: 1.) Optimize only when it is really too slow. 2.) Only optimize if it is too slow 3.) Only optimize if it is too slow 4.) Only optimize if it is too slow 5.) Only optimize if it is too slow 6.) Optimize first by using a better algorithm. 7.) Only optimize if it is too slow 8.) If it really really is too slow rewrite the slow parts in C. 9.) Only optimize if it is too slow 10.) Only optimize if it is too slow ((11)) A lot of people think that the Alioth Benchmarks are crap. regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/