logoalt Hacker News

gr_norm • today at 3:17 PM • 0 replies • view on HN

This website seems to be responding to a strawman pitch for formal verification: that it eliminates all bugs. This would be a preposterous thing to say, and I've never heard it.

Of course it's only as good as the specification you give it (and it's hard to write a good one!). And of course proof assistant kernels occasionally have bugs (so does the borrow checker, and yet it is enormously safer than writing C).

By the author's own admission, they were unable to find any issues in the specified parts of CompCert. Is the claim that massively reducing your attack surface isn't worthwhile?