Rustacean Station  cover image

Announcing Rustacean Station and Rust 1.36

Rustacean Station

00:00

The Difference Between Futures and Rust

Future of the trait stabilizes sort of the core primitive for this kind of asynchronous stuff in rust. It provides a convenient way for you to write code that takes a future and says, wait for this future to be done and then do this other thing afterwards. And it also provides you a mechanism for writing future to yourself to say, here's a function that is going to do things like network requests. All it does is it gives the executors a weight to make progress on. OK. Very cool. Let's back up here kind of like ringing the weeds a bit right now where it's like, this is all very complex.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app