Dimitri said:
Anyone now where i can find some recent java vs c++ speed benchmark?
possibly for scientific computation? possibly with the source code?
Ah, lies, damn lies... And benchmarks!
The ultimate troll/zealot argument... Where of course everybody
pretends to be unbiased.
One such flawed comparison can be found here:
"The Java is Faster than C++ and C++ Sucks Unbiased Benchmark"
http://www.kano.net/javabench/
See how the author says that "C++ Sucks" and "Unbiased Benchmark"
in the same sentence? (that's pretty much trolling in my book
And then some "unbiased rebuttal" here :
"The 'Java Faster than C++' Benchmark Revisited"
http://www.freewebs.com/godaves/javabench_revisited/
They do the usual Sieve, Ackerman, Matrix, etc. using different
setup and compare them.
For what it's worth.
I consider such articles to be "zealotry approaching trolling" and
I post these just to show how easy it is to "fake" benchmarks and
to make them so your pet language looks like the "winner".
:-/
The most serious comparison I've seen so far seems to be
the following one:
http://shootout.alioth.debian.org/
Choose an architecture, choose an algorithm and compare
results.
All source code are available.
I think this may be what you're looking for
Is it for a massively distributed scientific computation (like
SETI@Home) ? For something running on one of the planet's
Top500 supercomputer ? For some product running
client-side to be installed on many clients ?
For if it's not, I'd argue that the money saved by reducing
development time could probably be used to buy faster
hardware...
That said YMMV and all that,
Alex