
Announcing Rustacean Station and Rust 1.36
Rustacean Station
Rust's C Style Unions
Rust already has a feature called C style unions, which if you're not familiar with C, imagine kind of enums but with no tag. The idea is here is a piece of data that can be either this or this. And so in this case, that was the clincher for this because we believed it was safe before this man and initialized function, but it wasn't. There's been a lot of work recently studying precisely the effects and implications of unsafe Rust code.
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.