|
|
|
|
|
by Twey
1 day ago
|
|
> What is harder to find is the bridge between them, the part that connects understanding how async works to actually shipping with it. There is actually already a tutorial at this level: Tokio has its ‘async in depth’ tutorial [1] that walks you through building a toy runtime and using it to run a future. Not a complaint — you can never have too many tutorials, unless they're about monads — but just a pointer in case you hadn't seen it :) [1]: https://tokio.rs/tokio/tutorial/async |
|
It looks like rust async creates state machines similar to how Kotlin does it with so-called Continuations.