Comment on Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030
MartianSands@sh.itjust.works 1 week agoThe safety designed into Rust is suddenly foreign to the C family that I’m honestly not sure you can do that. Even “unsafe” Rust doesn’t completely switch off the enforced safety
InnerScientist@lemmy.world 1 week ago
Yeah, to quote the manual:
“[Unsafe Rust allows you to]
[…] The unsafe keyword only gives you access to these five features that are then not checked by the compiler for memory safety.”
doc.rust-lang.org/book/ch20-01-unsafe-rust.html