2 ms·
There's also writing your code with poll() and select(), which is its own thing.
by fragmede 3y ago
There's also writing your code with poll() and select(), which is its own thing.
- tuetuopay 3y agowell 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.