News for hackers. Stuff that matters.
Re:Only 1 in 10 Oracle Java users want to stay with Big Red by 7e on Thursday January 30, 2025 @02:39AM (#42875773)
Java is 3-5x slower than compiled languages, with horrible and uncontrollable tail latencies due to garbage collection. The bytecode thrashes the icache and the language is overly abstracted and too verbose. You have to install a huge runtime to use it. Many frameworks abuse the language to make things monkey patched/non-obvious. There's a reason many projects are rewritten in native languages.

Java does have a place, however, for I/O bound workloads where developer productivity matters more than performance. You can write a lot of horrible code in Java very quickly.

Re:Only 1 in 10 Oracle Java users want to stay with Big Red by chii on Thursday January 30, 2025 @06:48AM (#42876949)
> Java does have a place

in fact, most projects don't have the kind of performance requirements that would make native a necessity. I say, java should be the default, and native have a place.