Hacker News new | ask | show | jobs
by mcs 5143 days ago
Yes, what I was saying is that Node makes that really simple, and PHP, Python, Ruby, etc don't. That's more of a side effect of having everything be asynchronous though.
1 comments

This is really simple in Python using greenlet, stackless, or gevent.
Or threads. Simple, non-shared state threads are not that difficult to write, and for IO bound operations, they are not terribly inefficient.