Rustacean Station  cover image

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

Rustacean Station

CHAPTER

Uninitialized Integers Are Now Considered Instant Undefined Behavior

Rust is a very strict language. Legally Rust will come to your house. It's important not just for optimization sake, but also for you know storing information at runtime So it's crucial that no non zero or one values ever get placed into a boolean and if you use Memon initialized which you know part of his contract says we have no idea what this will contain. You may be surprised to learn that there is in fact one extra value that these types can be in which is undeath Which is internally kind of a thing that compiler backends use at least LVM,. Uses to indicate whether or not a value is defined or not.

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