Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Why hasn't the JavaScript event loop model scaled horizontally?. Parent comment
Node is multithreaded by default. I believe the default setting is using 4 threads. Most of Node is written in C++.
The JS code written by end users is single threaded (most of it at least) but IO etc is all executed with libuv.
https://docs.libuv.org/en/v1.x/threadpool.html#threadpool
There are no comments on this comment yet.
Node is multithreaded by default. I believe the default setting is using 4 threads. Most of Node is written in C++.
The JS code written by end users is single threaded (most of it at least) but IO etc is all executed with libuv.
https://docs.libuv.org/en/v1.x/threadpool.html#threadpool