Rustacean Station  cover image

What's New in Rust 1.65, 1.66, and 1.67

Rustacean Station

00:00

Interop With C Programming

In Rust you can use enums a variant as the number zero which is a great way for self- documenting code and making things easier to read. You can in fact give them actual discriminants explicitly They still have to use repper u8 or repper so-and-so on theenum itself to opt into this but now you can do this. But if I store a true in that C variant, what is what bit pattern is story? If I store a false I don't understand then We don't ask questions. It's like it seems like a very like specific kind of like for C interop concession yeah.

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