4 ms·
> I feel like it's much harder to shoehorn in proofs to existing codebases than it is to start with the proofs first. This is one of the big problems in CS. We
by bluGill 5y ago
> I feel like it's much harder to shoehorn in proofs to existing codebases than it is to start with the proofs first.
This is one of the big problems in CS. We have code that has been in production for 20 years and as such has very few bugs left. We know from experience replacing that code with new proven correct code results in something more buggy (for a few years while we fix the incorrect requirements) than the original. We still are replacing a lot of old code with proven correct code, but only as the CPU it is tied to goes out of production (code that is portable thus is low on the to replace list). If we could prove existing code correct easily it would potentially save a lot of money as we can keep old code around and add correct features.
- JadeNB 5y ago> We have code that has been in production for 20 years and as such has very few bugs left. That seems optimistic!