Re:Ruby 2.0 speed ÷ Python 3 speed
by draegtun on Wednesday March 20, 2013 @12:06PM
(#5408118)
I don't think Numpy is allowed or used in these benchmarks. However GMP is and that's why pidigits is so much slower on Ruby.
[ Parent
| on HN ]
Re:Ruby 2.0 speed ÷ Python 3 speed
by jamesjporter on Wednesday March 20, 2013 @12:11PM
(#5408151)
Of course an advantage of python over ruby (speed-wise) is that you can leverage numpy if you need to do fast matrix operations, whereas ruby has no such library (that I'm aware of).
And ditto for Perl: PDL - http://pdl.perl.org
However I think the basis of these benchmarks is really to pit languages against each other and not it's frameworks/libraries.