追試してみた。思ったより速いね>Ruby

Cygwin 1.3.6-6 / gcc 2.95.3-4 / Ruby 1.7.2

$gcc -O2 main.c # あっちのスレの 267
$time ./a.exe
real 0m3.578s
real 0m1.375s
real 0m1.281s
$time ./a.exe > /dev/null
real 0m2.281s
real 0m0.031s
real 0m0.016s

$ time ruby -e "for i in 1..10000 do puts 'hello,ruby'; end"
real 0m3.843s
real 0m1.750s
real 0m1.703s
$ time ruby -e "for i in 1..10000 do puts 'hello,ruby'; end" > /dev/null
real 0m2.297s
real 0m0.031s
real 0m0.047s