Rustacean Station  cover image

What's New in Rust 1.62, 1.63, and 1.64

Rustacean Station

CHAPTER

Is Mem Forget Unsafe?

The idea was, well, if it blocks when it gets dropped, then we can guarantee that A won't in the case of a spawns B. And this breaks once you can leak values, right? Because you just take the join guard you get back from scoped and you just mem forget it and it vanishes. The next thing that came up is rust ownership for raw file descriptors and handles also known as IO safety. This is something that implored introduced two new types to the standard library: borrowed FD type and owned FD type on Unix.

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