2 ms·
JavaScript doesn't have to contend with a plethora of native extensions (which, to be fair, are generally a workaround for python slowness).
by cozzyd 3y ago
JavaScript doesn't have to contend with a plethora of native extensions (which, to be fair, are generally a workaround for python slowness).
- sneed_chucker 3y agoJavaScript, at least on the Node.JS side, make plenty use of native extensions written in C++ https://nodejs.org/api/addons.html https://nodejs.org/api/addons.html In any case, that should be irrelevant to getting a reasonably performant JIT running. Lots of AOT and JIT compiled languages have robust FFI functionality. The native extensions are more relevant when we talk about removing the GIL, since lots of Python code may call into non thread safe C extension code.