3 ms·
Going from an interpreted language to a compiled/native one is a huge difference; the difference between compiled languages is a rounding error in comparison.
by Ferret7446 2y ago
Going from an interpreted language to a compiled/native one is a huge difference; the difference between compiled languages is a rounding error in comparison.
- Someone 2y agoThat depends on how “compilable” a language is and on how much effort the compiler writers made. All else bring equal highly flexible languages where the code continuously has to check the current type of the value of a variable and/or functions can be updated/replaced/etc tend to be slower than more strongly typed ones in both interpreters and compilers.
- OJFord 2y agoYou can take my comment above as alternatively phrased 'most interesting to me is that JIT compilation gets to the same order of magnitude' - I don't think people usually call JS or PyPy-python 'compiled languages', and I certainly wouldn't have guessed that to an order of magnitude NodeJS was as much faster than CPython as Rust is.