4 ms·
You mention Deno maybe not handling multiple cores “well”. I’m 99.9% sure Deno doesn’t handle multiple cores at all. Everything in the node ecosystem is one bi
by llamaLord 4y ago
You mention Deno maybe not handling multiple cores “well”.
I’m 99.9% sure Deno doesn’t handle multiple cores at all. Everything in the node ecosystem is one big asynchronous single-threaded event loop.
- junon 4y agoThere are indeed threads in some cases. I believe Deno uses libuv, which means that certain calls (iirc the syscall for DNS resolution) are put into separate threads since there are no true non-blocking versions of them provided by the kernel.