we can go in circles all day with blanket statements that are all true. but we have ample evidence that even if we think some real-world C code is safe, it is often not because humans are extremely bad at writing safe C.
sometimes it's worth preventing that more strongly, sometimes it's not, evidently they think that software that a truly gigantic amount of humans and machines use is an area where it's worth the cost.
And if it's well-tested, maybe that condition is achieved by the use of a test suite which could verify the changes are safe too?
Just like SQLite has an explicit compatibility guarantee through 2050. You literally do not have to update if you do not want to.
It's pretty different from the git version, which receives new releases all the time for things like security patches, improvements, and new features.
This is one of the best reasons to rewrite software in Rust or any other more safe by default language.
I have also learned some Rust recently, I find a nice language and quite pleasant to work with. I understand its benefits.
But still, Git is already a mature tool (one may say "finished"). Lots of bugs have been found and fixed. And if more are found, sure it will be easier to fix them in the C code, rather than rewriting in Rust? Unless the end goal is to rewrite the whole thing in Rust piece by piece, solving hidden memory bugs along the way.
> Unless the end goal is to rewrite the whole thing in Rust piece by piece, solving hidden memory bugs along the way.
I would assume that's the case.
Yeah sure, memory-safety is nice for debuggibility and being more confident in the programs correctness, but it is not more than that. It is neither security nor proven correctness.
If you want a better example, take distributed database software: behind DMZ, and the interesting code paths require auth.
This seems like a rather strong statement to me. Do you mind elaborating further?