5 ms·
Ruby still lacks in scalability and speed compared to Perl Ruby is faster than Perl, according to the language shootout: http://shootout.alioth.debian.org/u32
by danieldon 16y ago
Ruby still lacks in scalability and speed compared to Perl
Ruby is faster than Perl, according to the language shootout:
http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32/which-programming-lang...
http://shootout.alioth.debian.org/u32q/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32q/which-programming-lan...
- kentnl 16y agoIt 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&lang=yarv&lang2=perl http://shootout.alioth.debian.org/u32/benchmark.php?test=all... http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=yarv&lang2=perl 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&lang=ruby&lang2=perl http://shootout.alioth.debian.org/u32/benchmark.php?test=all... Lies, Damned lies.
- igouy 16y ago> 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.
- igouy 16y ago> Ruby is faster than Perl Only if you focus on a single number - the median - and ignore the complete overlap of the measurements shown by the boxplot and interquartile range.