Tuesday, September 18, 2007

Why Ruby > Python

Lately, I’ve been hacking around a bit with ruby and I must confess, I’ve started to like it quite much. In particular, there are some things which I like much better than in python. And no, this won’t be all about the enforcing nice syntax.

So here are the things I consider a big win:

Okay, for me the biggest problem with ruby is a lack of a large numeric and matrix library. Python with its scipy it clearly ahead in this respect. There exist ruby bindings of the GNU Scientific Library, but it lacks the lapack functions which means that, for example, the eigenvalue functions are not really fast.

That, and that ruby is reported to be somewhat slower than python. But maybe that changes with the next version which will include a virtual machine… .

Posted by at September 18, 2007, 10:39

blog comments powered by Disqus