Many people still claim that java is slow. What does that really mean? Have any experienced java programmers out there done any "real" performace tests or stats against other OO languages such as C++ or C#? Does the JVM spec document anything related to performance.
From pure device level numbers: good c or c++ program may outclass good java code.
You have to look at the 'Good' part in my statement. Because people can write filthy c or C++ code that can make a good Java code better.
In gereral usage applications(like client/server + web based)Java has definite advantage with tremendous open source + talent pool support. You can not go wrong with choosing Java over C or C++ in these cases.
Originally posted by tom chansky: Many people still claim that java is slow.
Here is a paper with several benchmarks that shows Java as fast or faster than C++ as well as some discussion as to the validity of benchmarks and why people believe java is slow despite evidence to the contrary.
Originally posted by Roy Ben Ami: Here is a site i posted on a different thread that compares all the major computer languages benchmarks..
... that's pretty bogus. Where's the Java code, and how were the programs executed? The only code they show is the C++ code, and the only command line options they show are the g++ ones. Perhaps the Java code is less than optimal, and perhaps they're not using appropriate VM parameters.
Anyway, let's go have this argument in the Performance forum.