Rustacean Station  cover image

Presser with Gray Olson

Rustacean Station

00:00

The Rust Virtual Machine Isn't a Runtime, Right?

The status of a piece of memory as uninitialized or not is not tracked at runtime. It's tracked at compile time. And the compiler uses that knowledge to be able to perform compile time optimizations where, you know, it just completely removed the case where the Boolean value passed in was false. Thus, in the compiled binary, there literally would be no instruction for checking thatBooleanvalue. The Rust language team programmers sort of used to talk about how Rust works,. Not actually aruntime that is being executed at programRuntime.

Play episode from 39:07
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app