Re:Node.js 14 is over 20x faster than Python3.8 for fib(n)
by baybal2 on Tuesday February 09, 2021 @01:26PM
(#26080883)
Crossing the interpreter-native-code domain is expensive, primarily because of poor cache usage.
You want to be either full JIT compiled code, or vice versa have as much interpreter functions, and libraries written in native code, and style the API to avoid loops.
You want to be either full JIT compiled code, or vice versa have as much interpreter functions, and libraries written in native code, and style the API to avoid loops.