Writing our own multi-producer-single-consumer (MPSC) queue using async Rust. Series: Language basics, More syntax, Traits and generics, Building app… ...more
We talked about how Futures have poll methods, but who calls them? That is the job of the runtime. We talk about how to launch your async code and how… ...more
Attempting to explain as slowly as possible what actually happens when the compiler finds an async function containing awaits: it writes a poll method… ...more
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 asy… ...more
What async programming is and what it looks like in Rust. Series: Language basics, More syntax, Traits and generics, Building applications, Concurren… ...more