Hi,
i know, we should not look too seriously at micro-benchmarks.
But i was tempted to see how Rust handles the Shootout N-Body benchmark.
Here are my numbers:
Java:
-0.169075164
-0.169059907
real 0m12.238s
user 0m11.935s
sys 0m0.053s
Rust:
-0.169075163
-0.169059906
real 0m25.037s
user 0m25.027s
sys 0m0.015s
Haskell/GHC:
-0.169075164
-0.169059907
real 0m30.237s
user 0m30.036s
sys 0m0.076s
Rust (--opt-level 3 --no-verify) currently seems to be slower than Java (1.6.0),
but slightly faster than GHC (7.0.4) on my machine.
Bye,
Lenny
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev