Every time I see another poll about the @rustlang async/await syntax, I feel like it's missing the option "I just want async/await to be stable and will defer to the Rust Core team's best judgment about the syntax"
Can’t give you a super in depth answer right now, but async/await compiles to a generator, and you give that generator one, single, exactly sized stack.
-
-
All async functions in your code compile into one generator?
-
Each chain of them. Like, calling one returns a future, that’s a generator for every async/await in the call stack of that one. But you can make more than one, if you want/need
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.