4min chapter

 Rustacean Station  cover image

Zig with Andrew Kelley

Rustacean Station

CHAPTER

Are They Just Bits?

i think that part of what's confusing about undefined behavior for people is that it's actually a broad term, and we need to kind of narrow in on different kinds of undefined behavior. So as an example, let's just say that we took rust, and everything's thes but were n to make one change to the language specification,. And the change is that if you ever multiply by exactly one thousand, that's undefined behavior. Ret this would be ridiculous. This would be a really bad idea. That would only be a problem. Why don't we just define multiplication by a thousand to do what you would expect it to do, and then no one's get to run into this problem

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