2 ms·
The thing is, Node needs to keep up with those same APIs.
The thing is, Node needs to keep up with those same APIs.
It needs to call them, not implement them. I am guessing the former is a lot simpler than the latter.
And it (and native modules) do this pretty well via nan (https://github.com/nodejs/nan https://github.com/nodejs/nan).