|
|
|
|
|
by hdevalence
972 days ago
|
|
A lot of discussion about async Rust assumes that the reason one would want to use async/Futures is for performance and scalability reasons. Personally, though, I would strongly prefer to use async rather than explicit threading even for cases where performance wasn’t the highest priority. The conceptual model is just better. Futures allow you to cleanly express composition of sub-tasks in a way that explicit threading doesn’t: https://monkey.org/~marius/futures-arent-ersatz-threads.html |
|