Now let's see the list they gave:
• Buffer overflow -> Bounds checks.
• Null pointer dereference -> Basically safe outside of embedded.
• Use after free -> Hard (temporal safety).
• Use of uninitialized memory -> Compilers already warn us.
• Illegal free -> Hard (temporal safety).
In broad strokes. I don't think current C compilers catch all uninitialised memory use. Having a variant that enforces it however is pretty easy. Bounds checks are similar. Proving the absence of overflow at compile time is impossible in the general case without proof assistance, but we can always have an incomplete analysis that inserts runtime checks when it's not sure. Same thing for null pointer dereference, just add a checks on systems that don't guarantee a safe segfault.All those could easily be solved with a slightly modified C compiler already. Zig to name but one basically does it already. So we're left with the two hard ones: use after free, and illegal free. For those there are 3 well known solutions: garbage collection (a performance deal breaker in many cases), and borrow checking (a godsend or a pain in the butt, depending who you ask), and smart pointers (not quite safe in C++, but they do help a ton).
What's practically unheard of in the industry however are arenas. https://www.dgtlgrove.com/p/untangling-lifetimes-the-arena-a... Sure, most game devs know of this, and it does have serious traction in some circles (the Handmade community comes to mind). But never once have I seen it applied in my day job since I started 20 years ago. In fact, I have never seen anyone use anything other malloc()/free() or new/delete.
Which is a shame, because arenas have the potential to simplify memory management to the point where memory safety bugs (assuming we have proper bounds checks) drop near the bottom of our list of concerns. I mean, I'd be fairly surprised if in Zig or Odin projects that mostly use arenas, memory safety bugs still comprised 2/3rd of all high and critical vulnerabilities.
Yes, any day now, the languages powering Linux, every major RDBMS, every distributed storage engine, every hypervisor, every browser engine, every AAA game engine, LLVM/GCC toolchains, and the embedded world are going to turn into COBOL - because Google wrote some Android Binder code in Rust, and a government working group published a PDF. For sure.
But if anything the "In Budget, On Schedule" section makes a surprisingly lucid case for why you shouldn’t rewrite working systems.
"Nothing will change" is probably the stupidest possible guess in any dynamic system.
Take a system where we have play-by-play data over a long period, Firefox. Ten years ago C++ makes up about 60% and C another 25% of the codebase and there was a trifling amount of Rust as it was newly introduced. They didn't stop writing C or C++ but they did write a lot of Rust, and so now only about 45% is C++ and C about 15%.
Legacy languages don't "turn into COBOL", they remain exactly as they are, like COBOL did, and the world changes anyway.
It's more like "Nothing will change significantly in the foreseeable future", which might be true - A lot of C or C++ codebases will never migrate to other languages, just like a lot of the surviving COBOL codebases haven't been successfully migrated to anything else for 50+ years.
There is a lesson in here: there are codebases that resist rewrites (I've seen many Java and C# projects try to replace COBOL applications and failing spectacularly). I imagine some parts of Linux will remain C for the foreseeable future, but the Rust corpus in it will only increase. Same for Firefox - some parts are just hard to express in different semantics (and, if you write Rust with C semantics, you are just writing C with a different syntax).
The only thing that can obsolete those code bases isn't yet another AI boosted language, the thing that makes the old code bases obsolete is a newer code base that is either simply better on a technical basis or is easier to use. At least one of those paths must lead to mass appeal to take advantage of network effects in favor of the new code base.
(and FWIW, currently I wonder how "LLM hardened" C code will compare to Rust, from what I've seen so far LLMs do a pretty good job at finding latent bugs and edge cases in C code, e.g. specific language properties might not play such a big role in the future as they did in the past)
Isn't this the ultimate self own? Saying that your language is so bad that only AI can help you fix your own code from containing severe security problems. The smart enough C developer isn't even human anymore.
Typical Rust OTH is neither a joy to read nor to write for humans, so the LLM remains the only option to create and maintain Rust codebases ;P
Also memory safety isn't the only thing that matters, iteration speed and code simplicity might too, and large C code bases build infinitely faster and are also easier to read and understand than typical Rust or C++ codebases)
I suspect once someone gets comfortable with Rust, their code will be better because of it (kind of what Bruce Perens says about Lisp).
I kinda enjoyed the puzzle solving aspect of C++ code (in my mind, C++ and Rust are essentially the same thing) when I was younger, but eventually I preferred when the programming language just completely "disappears" from the mind during programming sessions (because tbh, the "language puzzle solving" just distracts from the actually important "problem solving" part). Small and simple languages like C or Go (also Zig, have that quality for me, "big" languages like C++ or Rust don't.
- It's clearly not economically viable to manually transition all codebases to rust or any other mem-safe lang.
- How cute that the paper points out that any mem-safe language is fine, though rust is always the prime example. Almost as if this is a rust marketing piece, but the author wants to move away from the controversy.
- Is mem-safety even that important when hardware has mitigations like MTE (or capabilities in the future)?
- Is mem-safety even important when we're going through the tectonic shift of AI developing code and AI reviewing it! Where limitations of human perception/attention are no longer that relevant?
What memory-safe languages do is to make it nearly impossible to express a class of bugs. If the CPU has CHERI or memory tagging support, the compiler can turn an unsafe language into code that relies on those and render even the bugs unexploitable (but won't make the program correct - it will still have a bug).
AI can find and fix the bugs that already exist in lots of C code out there, and this is being done, so, at some point, even the chronically unsafe code will be free of bugs and, therefore, safe.
I regard Rust itself as a marketing piece and exhibit A is the world's largest advertising corporation being one of the founding members of the "Rust Foundation" with other scumbuckets rounding out the rogues' gallery.
https://en.wikipedia.org/wiki/Rust_(programming_language)#Ru...
Meanwhile, in the real world, from the author of curl:
> I know I’m repeating myself but: out of the 81 vulnerabilities we have confirmed in curl so far during 2026, 14 were the result of mistakes that most likely would have been avoided had we used a memory-safe language such as rust. That’s 17.3%.
https://daniel.haxx.se/blog/2026/11/17/actual-curl-rewrites-...
The article suffers from the usual issues - like jumping straight to the author’s favorite pet language- I absolutely would encourage fewer programs written in C++ and C (and Rust) - it is so rarely worth the risks to take on memory management by oneself. But there will always be cases, and those usually involve strict performance requirements where RAII-style memory management (i.e. Rust) is a poor fit anyway.
For example;
What is the likelihood of rewriting curl without introducing (more than a few minor) issues?
When rewriting, what are the odds of losing long-standing contributors?
How would curl feel about being unable to support some machine architectures they support today?
How would curl continue to provide a good interoperability experience? (Again, how many projects downstream are saddled with an additional compiler to install etc because of curl’s choices)
What about developer velocity? Could they respond as fast to those non-17% issues (you know; the vast majority) as fast and well as they do today?
Put simply, if every cost is free, 17% is good - being a serious engineer, as you say, is about determining if something costs more than it gains you.