@without.boats I've tried to write a details-oriented intro to async Rust, and I'd love to get comments and corrections if you have time/interest. https://jacko.io/async_intro.html
Comments
Log in with your Bluesky account to leave a comment
“… running lots of "futures" or "tasks" is more efficient than running lots of threads.” This seems to be the generally understood justification for async rust, but I’ve never seen it examined or justified. In what respect is it more efficient?
Yeah. People argue that stacks are large, but Futures are as large as the most complex state even if it’s an uncommon case. I didn’t read through all of the footnote code but is the observation that coordination purely between tasks can be cheaper with a user-land scheduler? Sure!
Comments