ProAnswers.org

Is ruby slower than perl?

Is ruby slower than perl?

Yes,PERL. If you follow the attached link, you will see a benchmark result clearly saying so. Should you care? It depends. If program speed is the determining factor, as in going through millions of data lines, choose PERL (or better yet, a compiled language such as C or C++). In terms of programmer productivity, as in creating a working prototype/solving a small problem quickly, I think programming in Ruby is faster.