Talk:Ruby (programming language): Difference between revisions

Content deleted Content added
Drbrain (talk | contribs)
Drbrain (talk | contribs)
Citing The Computer Language Shootout Benchmarks
Line 113:
 
:The first four bullet points could be moved into the examples section. I believe the method parentheses problem refers to an expression like "puts Array.new 5, nil", where the method that should receive nil is ambiguous. "puts 5, nil" is never ambiguous. --[[User:Drbrain|drbrain]] 10:41, 18 June 2006 (UTC)
 
== Citing The Computer Language Shootout Benchmarks ==
 
This article links to the [http://shootout.alioth.debian.org/ The Computer Language Shootout Benchmarks], which is not a quality reference for Ruby's performance problems.
 
The Alioth benchmarks exercise features that are seldom used in real-world Ruby like heavy recursion or enforcing use of a pure-ruby random number generator in the fasta benchmark instead of the built-in random number generator, overly penalizing Ruby's performance. Also, some benchmarks do not contain properly optimized Ruby.
 
In some areas Ruby is slightly slower than Perl or Python, but in other areas it is faster. The Alioth benchmarks are overly pessimistic due to the artificial restrictions they impose.
 
I believe this citation should be removed until a proper reference can be found.