Node v9.4.0
nodejs.org
nodejs.org
Nobody really cares if your 1 call is 20x slower though. Much better to make it 2x faster when there's 100 calls
The size would definitely be affected.
I read that someone builds a Reason/OCaml library with Node.js like API that compiles to native binaries, but uses OCaml standard libary functions in the background, which could probably get much smaller than Node.js.
Maybe it's just me, but every upgrade corrupts the global node_modules.
You could try using something like nvm which has a command to migrate your old global modules.
nvm install node --reinstall-packages-from=node
https://github.com/tj/n/pull/475/files
I guess nvm is better, needs some polishing, though (error prone for scripted usage, because of unpredictable exit > 0 behavior.
or maybe WebWorker Threads for API compatible framework: https://www.npmjs.com/package/webworker-threads