I'm also more familiar with python, but the speed argument doesn't seem to
be valid anymore. Benchmarking the same two scripts on contemporary
interpreters on my decidedly non-contemporary 800MHz Athlon yields:
and@glotze:~> python -V
Python 2.4.4
and@glotze:~> time python sieve.py 300000 > /dev/null
real 0m1.121s
user 0m1.092s
sys 0m0.032s
and@glotze:~> ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]
and@glotze:~> time ruby sieve.rb 300000 > /dev/null
real 0m1.579s
user 0m1.568s
sys 0m0.008s
(yeah, I know python 2.5 is out, but debian stable and gentoo still use
2.4 per default)