by Mikeb85 · 10y ago · 0 comments
Considering the amount of man-hours that have gone into both, the exact reasons are probably hidden under a whole bunch of implementation details.
That being said, I've run benchmarks where the JVM (version 1.8) outperforms C++ and Fortran... The JVM seemingly optimizes everything, and the amount of fine tuning you can do is amazing.
I've never heard of the CLR coming close to Java performance on large-ish apps or tasks, all else being equal.
The real reason Java apps are often associated with being big and heavy is less to do with the technology and more to do with the fact that it's so often used for bespoke enterprise apps where there's no competition and so little incentive to optimise (vs add new features).