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

There's also writing your code with poll() and select(), which is its own thing.


well that's the great thing with async rust: you write with poll and select without writing poll and select. let the computer and the compiler get this detail out of my way (seriously I don't want to do the fd interest list myself).

and I can still write conceptually similar select code using the, well, select! macro provided by most async runtimes to do the same on a select list of futures. better separation, easier to read, and overall it boils down to the same thing.




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

Search: