News for hackers. Stuff that matters.
Re:How JavaScript engines achieve great performance by nayuki on Wednesday November 24, 2021 @03:14PM (#29334577)
JavaScript is most definitely not as fast as Java. Try doing some CPU- and memory-intensive Project Euler problems in both languages and you'll see a several times difference.

Java has a much better standard library - abstract data type interfaces, common and fast data structures, I/O facilities, concurrency, and more.

Re:How JavaScript engines achieve great performance by romero-jk on Wednesday November 24, 2021 @03:27PM (#29334729)
True but for a dynamic lang is very close[0] and if your application lives in the Java collection framework(most do) instead of using arrays the performance is even closer.

[0] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...