4 ms·
> It seems to me that both languages are interpreted Node.js uses the V8 engine for JavaScript which isn't just an interpreter - it includes a JIT compiler.
by pansa2 5y ago
> It seems to me that both languages are interpreted
Node.js uses the V8 engine for JavaScript which isn't just an interpreter - it includes a JIT compiler.
- dec0dedab0de 5y agoYes, the JIT has got to be the biggest difference. I wonder how node compares to pypy. I think when GVR mentions "There's machine code generation in our future" that he is talking about a JIT
- throwaway894345 5y agoI suspect Node is still quite a lot faster than Pypy because the former benefits from v8 which is a well-funded project which doesn’t have to worry about compatibility with the sprawling C-extension interface that CPython exposes.