From: Dibya Prakash Date: 2005-06-10T03:03:12+09:00 Subject: Re: python/ruby benchmark. Hi, I definitely agree.Only feature of a particular programming language cannot determine the speed of software.Other factors are also crucially important. I didnot know about YARV,but gr8 that I came to know it thru u people.I'll surely check it out. Bye Dibya Prakash Happy coding On 6/9/05, Kent Sibilev wrote: > Java is an order of magnitude faster than Ruby. The development of a > web app using Rails is an order of magnitude faster than the > development of a similar web app using Struts/Hibernate frameworks. > There are other factors that can slow down your development time > besides the speed of your language of choice. > > Cheers, > Kent > Just another guy with huge mental problems. > > On 6/9/05, Lothar Scholz wrote: > > Hello gabriele, > > > > gr> " ha scritto: > > >> I took a look at > > >> http://shootout.alioth.debian.org/benchmark.php?test=all&lang=ruby&lang2=python&sort=fullcpu > > >> and found the tests on ruby disapointing :(. > > >> So what I'm asking for is a link to some ruby-specific optimisation tips. > > > > gr> a simple thing: do the most normal thing instead of writing code in ruby > > gr> that is innatural, i.e. instead of rewritine an heapsort by hand, use > > gr> the builtin sort/sort!/sort_by routines. Instead of writing a random > > gr> function by hand, use the builtin rand(). > > > > Sorry you don't understand this benchmark. It is there to do this > > algorithms to compare the basic data operations. > > > > The benchmark is not useable to compare compiled languages with > > interpretered, but comparing python with ruby is a valid comparision. > > > > And that ruby is so worse then python is a real problem. If you still > > try to deny this, then you have a real mental problem. > > > > If ruby is 9 times slower then python in for example function calling intensive > > code that means that ruby will slow down your development time a lot > > as it forces you to use optimized code or even C code much more often > > then python. > > > > > > -- > > Best regards, emailto: scholz at scriptolutions dot com > > Lothar Scholz http://www.ruby-ide.com > > CTO Scriptolutions Ruby, PHP, Python IDE 's > > > > > > > > > >