News for hackers. Stuff that matters.
Re:How low can you go? Ultra low latency Java in the real wo... by twic on Friday December 21, 2018 @10:28AM (#18733852)
Java doesn't beat C++ in raw computational benchmarks. The JIT compiler is a marvel, but it doesn't beat peer AOT compilers.

The Techempower benchmarks mostly show how good the entrant's web-serving stack is. Java has a couple of decades of multiple skilled, well-established groups competing to build the fastest web stack. C++ has Boost.Beast, which, although its developers are smart, wise, widely respected, sexy, and moderators of a Slack i frequent, can't compete in terms of resources.

Re:How low can you go? Ultra low latency Java in the real wo... by MaxBarraclough on Sunday December 23, 2018 @06:19PM (#18749075)
I think you're overstating the importance of JIT vs AOT.

There are a few AOT-compiling JVMs out there, and it's not the case that they reliably outperform the JIT-based JVMs like HotSpot.

The significant differences are in Java mandating array bounds checks, runtime checking for null, no undefined behaviour, etc.