8 ms·
Python and Java threads block the thread on I/O. Which is wasteful, because you have a huge chunk of memory allocated for the stack of that thread, being reserv
by int_19h 9y ago
Python and Java threads block the thread on I/O. Which is wasteful, because you have a huge chunk of memory allocated for the stack of that thread, being reserved but not actually in use.
- corford 9y agoYep, hence node's advantage of offering much higher concurrency for the same memory usage.