Feds want devs to stop coding 'unforgivable' buffer overflow
theregister.com
theregister.com
Any solution that just adds to C, will make it a new C, that will take years to prove itself and still require relearning and push-back.
I'd love a real world suggestion that does it better. The best I can imagine is annotations on C that are checkable formal methods... but that just sounds like reinventing the borrow-checker.
Among other things, you need more secure hardware to make progress.
(Getting machine-readable syscall descriptions that describe the rules for pointers to buffers and their lengths in ways that can get safe code generated from them would be a huge win, on top of "just use Rust".)
Can the mainframe over at the IRS swap-in Rust for all that legacy unsafe COBOL code?
Admittedly, I don't know any compiler backends that generate COBOL.