3 ms·
Otoh they don't use some top secret innovations but decades old techniques accessible to everyone. And language benchmarks don't tell the whole story. In Java,
by esailija 13y ago
Otoh they don't use some top secret innovations but decades old techniques accessible to everyone.
And language benchmarks don't tell the whole story. In Java, idiomatic and typical code will be optimized very well whereas in Javascript such code runs easily at least an order of magnitude slower than its potential. Try to run some idiomatic JS through https://github.com/petkaantonov/nodeperf/ https://github.com/petkaantonov/nodeperf/ and see it explode :)
So even if Javascript can be shown in some benchmark to close on the JVM, the benchmarks are ignoring the fact that you cannot write Javascript carelessly to get anywhere near those speeds unlike with Java.