Rustacean Station  cover image

Announcing Rustacean Station and Rust 1.36

Rustacean Station

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner