Hacker News new | ask | show | jobs
by kentnl 5633 days ago
It depends which graphs you look at:

These graphs tell me

1. Perl is slightly faster. 2. Perl uses much less memory on average 3. Perl uses less code.

http://shootout.alioth.debian.org/u32/benchmark.php?test=all...

http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...

However, on Ruby18 you do have a substantially bigger problem:

http://shootout.alioth.debian.org/u32/benchmark.php?test=all...

Lies, Damned lies.

1 comments

> These graphs tell me

It must be the spectacles you're looking through.

These graphs tell me that

- about the same number of Perl programs are faster than the Ruby 1.9 programs by about the same amount, as there are Ruby programs faster than Perl programs

- some of the Perl programs use half the memory of the corresponding Ruby 1.9 programs

- the Perl programs and Ruby 1.9 programs use about the same amount of code.