News for hackers. Stuff that matters.
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.
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).
Re:Ruby 2.0 speed ÷ Python 3 speed by draegtun on Wednesday March 20, 2013 @12:14PM (#5408172)
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.

Re:Ruby 2.0 speed ÷ Python 3 speed by igouy on Friday March 22, 2013 @05:53PM (#5426043)
Is there any reason that Ruby programs cannot use GMP?