3 ms·
> You can also replicate the same thing that Node.js is doing in your Java or Python too by applying multi-threading (i.e. one thread just "waits" for the I/O i
by ffgjgf1 3y ago
> You can also replicate the same thing that Node.js is doing in your Java or Python too by applying multi-threading (i.e. one thread just "waits" for the I/O in the background while the other keeps doing its job).
Why would you need “multi-threading” isn’t what you’ve described exactly what async/coroutines do in Python? I’m not sure there is anything particularly unique with Node here, there are plenty of Python frameworks based on async etc.