News for hackers. Stuff that matters.
Re:The SeL4 Foundation: What and Why by pron on Tuesday April 07, 2020 @08:46PM (#22809059)
> AFAIU Component-Based Software Engineering has been a bedrock principle of applied formal verification for decades.

Yes, and still the only software verified using such techniques has been tiny (< 10KLOC) and required extraordinary simplification and tremendous effort by specialists. It's like saying that particle accelerators have been a bedrock principle of turning lead into gold. It "works" but not in any sense that makes it a repeatable, affordable practice. Moreover, the gap between the size of programs verifiable in this way and the size of a "normal" piece of business software has stayed pretty much constant over the past four decades -- 3 orders of magnitude.

> And even if it's not sufficient, a solution where some components are formally verified is better than where none are.

Better in what sense? Is it better to soundly verify one component or to use unsound methods on an entire system (even assuming similar costs, but often the latter is cheaper). Soundness is costly and is never a real requirement as a software system is a physical system, anyway; machines only perform machine instructions according to spec with some probability, and probability is all engineers can ever hope for. But sure, sometimes there are small components that are easy enough to verify with deductive proofs, making it the most affordable path to high confidence, although I'd say that's the rare exception rather than the rule.

> Circumscribing soundness isn't an alternative, it's complementary.

It allows you to use automated methods that don't require careful modularity.

There are no comments on this comment yet.