Rust async: futures, tokio and async/await step by step

10 steps · about 12 h 5 min · Intermediate

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. futures - Rust (reference, docs.rs, 20 min)

    The futures crate documents the combinators and stream utilities you'll meet in real async code.

  10. 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.