|
|
|
|
|
by sanjayts
3423 days ago
|
|
I am awfully wary of these statements which paint languages like Python (via PyPy), Javascript (via Node) as very close competitors of the JVM. Once the JIT engine kicks in, on "real" workloads, JVM beats the lights out of these carefully tuned interpreted languages on a CPU intensive workload. |
|
For one, JS is also JITed. Second we have video players and other tasks done on native JS, which would be impossibly slow on say Python.
Second, JS can also be compiled -- there's asm.js and WebAssembly coming down the road.
So, yes, it might be slower than the JVM, but not that slower for most practical purposes.