Re:DARPA project for automated translation from C to Rust (2...
by woodruffw on Wednesday October 01, 2025 @10:53PM
(#45445920)
> OOBA’s are the thing that attackers most want to do, and Rust, Fil-C, and almost all of the other memory safe languages solve that with runtime checking.
On browsers and other high-performance codebases? I would have guessed UAFs and type confusions would be higher on the attacker priority queue for the last 15 years. Rust prevents those statically.
Re:DARPA project for automated translation from C to Rust (2...
by pizlonator on Wednesday October 01, 2025 @11:51PM
(#45446178)
My data comes from OSes as a whole not just from browsers or high performance codebases.
Re:DARPA project for automated translation from C to Rust (2...
by duped on Wednesday October 01, 2025 @10:16PM
(#45445753)
I would disagree, because people don't really care about memory safety for security reasons as much as I think gets talked about.
The most important safety mechanism in Rust is the borrow checker. It solves so many real problems that people willingly put up with the steep learning curve because that's easier than debugging data races and use after free.
Bounds checking is nice but it's not interesting or compelling enough to talk about as some ungodly super power of safety and security.
Rust’s most important safety mechanism is panicking on out of bounds access. OOBA’s are the thing that attackers most want to do, and Rust, Fil-C, and almost all of the other memory safe languages solve that with runtime checking.
In short, I’d say what Rust gives you is static checking of a bunch of stuff and also memory safety. Fil-C gives you memory safety (and Fil-C’s memory safety goes further than Rust’s).