u/redixhumayunin r/rust • Recommends
On “Understand Async Rust”
111K subscribers • 38 videos on Hallway
Advanced. Deep dive for people who know the field.
196K views2 years ago5 recommendations
Systems programmingProgramming languagesRustConcurrency and parallelismNetworking and protocols
Jon Gjengset explores the internals of the Tokio crate, covering its runtime, blocking tasks, synchronization, and cancellation.
In this stream, we peeled back the crust on the tokio crate — github.com/tokio-rs/tokio/ — and explored its interface, structure, and mechanisms. We talked about blocking, cancellation, spawning, and mechanisms for synchronization. We also dug into some of what goes on under the hood where that ends up being relevant to you as an application author! For more details about tokio, see docs.rs/tokio/. Discord: discord.jonhoo.eu Introduction The parts of tokio The tokio runtime Blocking Send bounds and LocalSet tokio vs std Mutex Runtime questions tokio resources tokio::fs nuances tokio::process nuances tokio::io things tokio-stream tokio::sync tokio::task::JoinSet tokio::select! and cancellation tokio-util and CancellationToken common errors: tokio::spawn common errors: concurrency vs parallelism common errors: mpsc fan-in Follow-up questions and outro Live version with chat: youtube.com/live/YlTyZvpaywQWhat people say. Highly recommended as an in-depth guide to understanding how Tokio and async Rust work under the hood.
u/redixhumayunin r/rust • Recommends
On “Understand Async Rust”
u/Narduwin r/rust • Recommends
On “How do you decide to use async or single/multithreading?”
u/kruvasyanin r/rust • Recommends
On “what are some good resources to learn about Futures in depth?”
u/RoXyyChanin r/rust • Recommends
On “Advanced async resources ”
u/Limp-Sherbetin r/rust • Recommends
On “Is my code garbage?(Struggled 8 hours in one sitting with trial and error)”
u/1vaderin r/rust • Mentions
On “Combatting over-reliance on `mpsc` channels”