4 ms·
JavaScript is single threaded, Node is most certainly not.
by nobleach 6y ago
JavaScript is single threaded, Node is most certainly not.
- gbrits 6y agoYes it surely is
- zbentley 6y agoMy "htop" display surely disagrees. So do my node programs that lag out waiting for disk IO thread pool slots. Sounds does node's documentation: https://nodejs.org/api/worker_threads.html https://nodejs.org/api/worker_threads.html
- hmcdona1 6y agoIt's not exactly. Certain operations like I/O are threaded in Node. libuv has it's own threadpool that it uses for a lot of these types of tasks.