News for hackers. Stuff that matters.
Re:Java 18 / JDK 18: General Availability by kaba0 on Wednesday March 23, 2022 @02:54AM (#30775726)
Javascript is much closer to java than to python in terms of performance. And due to the variability of the JIT compilers, it can sometimes be faster than java, but generally the latter wins out.

But the parent poster is right that the two teams did choose a different workload to optimize for, V8 being fast faster while java taking more time to JIT compile a region, but that is mostly due to the difference between their most-common uses, running websites’ code as soon as they load vs mostly running on huge—ass servers with sometimes terabytes of RAM.

There are no comments on this comment yet.