News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by weatherlight on Monday October 25, 2021 @09:16AM (#28987398)
Javascript is faster than java... sorry... the JVM is slow.

and ugly and verbose and all the things you mentions are bolted on after that fact or not even apart of the core programming language. which hurts your agreement of its being "elegant" or "designed well"

Re:New language features since Java 8 to 17 by kaba0 on Monday October 25, 2021 @10:04AM (#28987937)
I would like to see some benchmarks on that. I like the V8 engine, it is also a marvelous engineering feet, but it is simply not made for the workloads that the JVM can routinely handle, like heap size up to terabytes. It’s not an accident that serious server applications usually run on top of the JVM.

Also, a JIT compiler written in Java running on top the JVM interpreting (though in a clever way) javascript can match the speed of V8, just saying. Look up TruffleJS!

Re:New language features since Java 8 to 17 by hawk_ on Monday October 25, 2021 @05:39PM (#28993474)
i think you're referring to startup time not actual runtime of long running tasks