News for hackers. Stuff that matters.
Re:Tokio 1.0 – async runtime for Rust by Nullabillity on Wednesday December 23, 2020 @05:37PM (#25523094)
Yes, the standard library has a bunch of legacy blocking IO stuff. But in general, most modern libraries tend to stick to a convention of:

- async (or explicitly Future/Stream): external effects (I/O, interacts with synchronization, whatever)

- &mut: local effects

- otherwise: pure

There are no comments on this comment yet.