Archive for ruby

Ruby vs Python

Posted in languages with tags , , on October 14, 2008 by Bartosz Radaczyński

For a while now I’ve been looking for a thorough comparison of the two (I know that Ruby has blocks, believe you me). I finally found one here. Another extremely interesting thing is the speed comparison of various programs written in both. As it seems (at least for now), Python is about 3 times faster than ruby (not to mention psyco). On the other hand, ruby 1.9 is supposedly faster (benchmark is not supporting this 😦). Yeah, I know that the processor cycles are cheaper than developer’s brain cycles (and it is true), but since coding in Python is about as productive as it is in Ruby, and the code can run three times faster, why not use python?