Linked by Thom Holwerda on Wed 10th Oct 2012 23:47 UTC, submitted by MOS6510
Java "Java is a programming language that allows developers to write once and deploy everywhere - from high-end gaming desktops to smartphones. Its OS-agnostic and widespread nature is one of its strongest selling points, but one area where it can fall flat is performance. Generally, Java applications are not going to perform as well as native applications written for a specific OS. However, thanks to Project Sumatra that performance gap may soon become less of an issue."
Thread beginning with comment 538294
To read all comments associated with this story, please click here.
Java performance
by dsmogor on Thu 11th Oct 2012 10:37 UTC
dsmogor
Member since:
2005-09-01

The crux if java performance problems comes not from its raw number crunching abilities (it stands agains c++ in micro benchmarks) but its style of memory mamagement. Moreover JIT has its own memory overhead (runtime performance metrics, heaily instrumented code). Managing memory in pressured conditions takes time, not being able to share heavy runtime between processes adds to it.
Having jit take care of branch optimization also made priogrammers prefer more dynamic style (virtual by default). If they used it in C++ (with GC) the resulting runtime performance would be worse.
Is summ practical java lower performance is a price paid for programmers convenience more than inherent platform flaw.

Reply Score: 2

RE: Java performance
by JAlexoid on Thu 11th Oct 2012 12:22 in reply to "Java performance"
JAlexoid Member since:
2009-05-19

Managing memory in pressured conditions takes time

Yep. Java definitely has issues with deterministic performance, but so do most GC'd platforms.

Reply Parent Score: 2