Rust 101 - 35: Futures
July 18, 2024 [Programming, Programming Languages, Rust, Tech, Videos]Exploring what a Future is in async Rust and how we could manually write code that polls futures. Normally, we avoid this manual work by using the async
and await
keywords, but looking into this helps us understand what those keywords really do.
Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Unsafe, FFI
This section (Async): 34: What is async?, 35: Futures, 36: async/await, 37: Runtimes, 38: Exercise E1a, 39: Exercise E1b, 40: Exercise E2a, 41: Exercise E2b
Links:
- Slides: Rust 101 - module E
- Exercises: artificialworlds.net/presentations/rust-101/exercises/E-async-web/mod.html
The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.
This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.