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

Any asynchronous event-loop program that touches files wants something like this. Unix file IO is classically synchronous; the hack around this was to run a userspace threadpool. It's unpleasant. The Unix "AIO" interfaces all kinda suck.


Unfortunately you're still stuck with having to run a thread pool if you want to do something that has no async version, such as reading a directory. I wish it went further!


It continues to expand; it'll get there.




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

Search: