News for hackers. Stuff that matters.
Re:You are never taught how to build quality software by rocqua on Saturday December 09, 2023 @12:48AM (#38579006)
I think with formal analysis, whole bug classes can be eliminated. Add to that a rigorous programming style, and 'bug-free' code is within reach. There will remain bugss that make it through, but they will be rare, and will need a chain of mistakes.

Currently ways of coding to this kind of standard exist. But they are stupid. It involves things like no dynamic memory allocation, only fixed length for-loops, and other very strict rules. These are used in aerospace, where bugs are rather costly and rare.

Re:You are never taught how to build quality software by kaba0 on Saturday December 09, 2023 @03:36AM (#38579925)
What seems to yield much better results is to have the program be built by two separate teams to a standard. Then both programs can be run simultaneously, checking each others output — I believe something like this is actually used in the aerospace industry.