From: Caio Tiago Oliveira Date: 2005-02-07T06:07:40+09:00 Subject: Re: Benchmark Mono - Ruby Alexander Staubo, 6/2/2005 03:14: > To be fair, the type of the variable in the Mono example is "double", > but the Ruby example uses an int. A more appropriate Ruby version: I've made this benchmarking in some more languages (using d=d+1): In my Pentium 4 2Ghz 256Mb SDRAM 7200rpm: Java: 00m14,45s (d as long) Java: 00m12,70s (d as double) C: 00m03,27s (d as long int) C: 00m15,90s (d as double) Squeak Smalltalk: 01m48,60s Ruby: 18m12,21s Python: 14m04,83s I couldn't understand why the C code could be slower than the Java one (is the same code, as java and C have similar sintaxes, the java one has the boilerpart and is it). SmallTalk is 100% OOo, with a lot of message calls and is much faster for this task than Ruby or Python.