Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The entire point might be to offload the blocking call and do something else while it's blocking.

There's a style of "asynchronous programming" where everything is designed to be non-blocking and there can be asynchronous programming with blocking code. In fact the first style can be emulated by offloading every blocking call to a different thread/greenthread/fiber and that's basically what's happening under the hood unless there is some fundamental support for non-blocking at the lower levels (sometimes all the way down to the hardware).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: