4 ms·
Tell HN: Interpreted languages aren’t always faster when running short programs
Python has a reputation for being slow in execution time. But when it comes to simple scripts, if you time a NodeJS counterpart, the overall execution is quicker.
This is likely because V8 is a very large VM where startup time isn't as critical of a scenario in a browser.
If this is true, I wonder if there is a future in traditional interpreters and languages beyond Python, or everything will just compile to WASM.
Just something to think about next time your shell scripts contains 10 calls to NodeJS.