4 ms·
This is an awesome rundown of the whole stack. It's almost like you've explained this stuff before. ;) It might sound complicated, but for typical applications
by matt_kantor 6y ago
This is an awesome rundown of the whole stack. It's almost like you've explained this stuff before. ;)
It might sound complicated, but for typical applications almost all of this happens "under the hood". Usually you'll just add an attribute to `main` to start your runtime, then you can compose/await futures without ever needing to think about `poll` and friends.
Here's a small example: https://tokio.rs/tokio/tutorial/hello-tokio https://tokio.rs/tokio/tutorial/hello-tokio.
- steveklabnik 6y agoThanks :)