An unofficial, read-only Hacker News reader. Join the beta →

The need for a formally verifiable mainstream programming language (opens external site)

305 points by todsacerdoti 18 hours ago | blainehansen.me | 297 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Formal methods may or may not help you. I remember Amazon or another company using TLA+ on a distributed system quickly found a bug that would've taken over two dozen steps to hit.

    The concurrency bugs SPIN and TLA+ find also eat tons of debugging time because they are hard to replicate. They're often called heisenbugs for how they're there and not there depending on the observer.

    Static analyzers with low, false positives catch tedious or corner-case bugs developers often miss. That already tells you that any formal method that makes software immune to those big classes will also improve quality. SPARK Ada and Frama-C both do that.