How Rust's async/future model avoids intermediate allocations

This blog post explains some of the design choices that were made to allow async without a separate heap allocation for each future:

https://aturon.github.io/blog/2016/09/07/futures-design/

1 Like