
Episode 137: 🇬🇧 Sean Parent on Val (vs Rust)!
Algorithms + Data Structures = Programs
00:00
C++ a Tragedy in Two Parts
Val allows you to step out into an unsafe construct and then build safe mechanisms on top of that. Right now within Val unsafe is only at the statement level we don't have block unsafe which Russ does. And that's because we actually think the need for unsafe is less than it is in a rust. In Rust mutability is to an entire heap allocated objects right it's still a reference semantic language. Within Val we're not dealing with reference semantics we're dealing with value semantics. So so the need for doing unsafe code is greatly reduced.
Transcript
Play full episode