2min chapter

 Rustacean Station  cover image

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

Rustacean Station

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode