Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trade-off between await-ing a "child" boxed future vs spawning/awaiting a new task on executor #130

Open
atagunov opened this issue Mar 10, 2021 · 0 comments

Comments

@atagunov
Copy link

https://internals.rust-lang.org/t/questioning-the-design-of-the-future-trait-and-the-cost-implied-by-it/14217 includes information which IMO should be 101 of working with async in Rust, in particular in comments 16 15 and 13

Line charts from post [16] are also educative. This thread has been extremely instructive and is most definitely worth being prominently reflected in the book

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant