Rust async: futures, tokio and async/await step by step
10 steps · about 12 h 5 min · Intermediate
- Async Rust Explained: Futures, Tokio and Pitfalls (article, Rustify, 25 min)
A short overview of the layers (futures, executor, Tokio) gives you the mental map before the details.
- Async and await - Asynchronous Programming in Rust (guide, Rust Async Book (rust-lang), 30 min)
The official guide shows that calling an async fn only returns a future, and introduces tasks, threads and spawn.
- Async with Tokio - Kawin's Pages (tutorial, Kawin's Pages, 30 min)
Short runnable examples let you try lazy futures, spawn, channels and select! hands-on before going deeper.
- Tokio tutorial (tutorial, tokio.rs, 2 h)
The official hands-on tutorial builds a Redis-style client and server, which turns the basics into real code.
- Async in depth (tutorial, tokio.rs, 40 min)
You implement Future by hand and build a mini Tokio, so polling and wakers stop being magic.
- Future trait - std::future (reference, Rust standard library docs, 15 min)
Reading the trait's official contract confirms what you built by hand in the previous step.
- How to Use Rust Futures and Streams (article, OneUptime, 25 min)
This covers combining futures with join and select, streams, semaphores and the common pitfalls.
- Async I/O in Depth: Futures and Implementing an Async Runtime (video, YouTube, 1 h)
Watching a runtime get built from scratch reinforces how executors and reactors fit together.
- futures - Rust (reference, docs.rs, 20 min)
The futures crate documents the combinators and stream utilities you'll meet in real async code.
- Async Rust: From Futures to Production (guide, Microsoft RustTraining, 6 h)
A long deep dive that ends with runtime selection and production pitfalls, once the basics are solid.