News for hackers. Stuff that matters.
Re:Interview with Ryan Dahl, Creator of Node.js by corford on Thursday August 31, 2017 @03:04PM (#15142871)
>because the threaded code blocks.

Python and Java threads don't block on I/O, only on CPU. Event loops (i.e. node) also block on CPU.

AFAIK, node's advantage over threads was just that it offered much higher concurrency for I/O constrained tasks for the same memory (and was easier to programme for people coming from the front-end world).

Re:Interview with Ryan Dahl, Creator of Node.js by int_19h on Friday September 01, 2017 @06:32AM (#15147341)
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.
Re:Interview with Ryan Dahl, Creator of Node.js by corford on Friday September 01, 2017 @03:24PM (#15151667)
Yep, hence node's advantage of offering much higher concurrency for the same memory usage.