4 ms·
It is not about the interpreter. You just can't express performant code in these languages. JIT compilation makes Javascript faster, but it is not by any metri
by BuzzwordChief 4y ago
It is not about the interpreter. You just can't express performant code in these languages.
JIT compilation makes Javascript faster, but it is not by any metric "fast".
- culi 4y agoDepending on specific use-case, today's JavaScript code is only 2–7 times slower than corresponding C++. That's pretty damn fast. Faster than some compiled languages. Fast enough that if you wanted to obsess over performance you can build the fastest backend framework in Node.js[0][1] [0] https://www.techempower.com/benchmarks/#section=data-r21&test=composite https://www.techempower.com/benchmarks/#section=data-r21&tes... [1] https://just.billywhizz.io/blog/on-javascript-performance-01/ https://just.billywhizz.io/blog/on-javascript-performance-01...
- mpweiher 4y agoHmm...2-7x slower is slow, and that's almost certainly after warmup. Just to put it in perspective: the new Team's startup time is ~9 seconds. At 7x faster, it would be slightly above 1 second, which would be OK.