Hacker News new | past | comments | ask | show | jobs | submit login

> I'd instinctively worry about overhead there

Yeah, one of the nice things about blocking I/O is that you can perform it with a single syscall. With block_on(async_io), you're now dealing with registration with a reactor, polling epoll, and extra syscalls for each I/O operation. Not to mention the overhead of running the state-machine as opposed to line by line.




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

Search: