Bradley Kite wrote:
> Hi all,
>
> I'm a relatively new Ruby programmer, I am curious as to what Ruby is
> trying to achieve that other scripting languages do not already offer (Apart
> from the syntactic differences of yet another scripting language, that is).
> The reason I ask is that it must offer something that is worth a lot considering
> it runs twice as slowly as Perl (see below).
>
> I was also interested in comparing the performance of Ruby against something
> like Perl, and (although this test is VERY simple) thought that I'd benchmark
> a simple counter in both Ruby and Perl.

That's even more simplistic than the benchmark programs on the Computer
Language Shootout :-)

Here's Ruby vs Perl
http://shootout.alioth.debian.org/benchmark.php?test=all&lang=ruby&sort=fullcpu

and here are the old Doug Bagley programs
http://shootout.alioth.debian.org/old/benchmark.php?test=all&lang=ruby&sort=fullcpu