3 ms·
> It seems to me, then, that this isn't really a fair comparison to node, is it? Isn't node written in C?
by Sean1708 10y ago
> It seems to me, then, that this isn't really a fair comparison to node, is it?
Isn't node written in C?
- danappelxx 10y agoYes, but JavaScript is still a dynamic, garbage collected language.
- 1st1 10y agoMost of nodejs internals are in C++ on top of libuv. Only a thin layer of JS interfaces wrap that. Python is also a dynamic, GCed language. uvloop is built with Cython, which uses the Python object model (and all of its overhead!), and CPython C-API extensively (so it's slower than a pure C program using libuv).