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

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

308 points by todsacerdoti 19 hours ago | blainehansen.me | 299 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. > People have written TLA+ specs for their software[1] and not have it materially improve the quality or reliability.

    They have said they wrote them, but I doubt it. The quote from the report:

    "We found several incompatibilities or bugs involving static or dynamic type safety, or behaviors that would normally have been caught by static analysis of a query, such as referring to a nonexistent column. These issues occurred with a single server, single client, and no faults.

    They failed to catch references to a nonexistent column with a formal proof? I doubt it, the more likely explanation they hadn't proven their code, they probably did something that allowed them to claim that they wrote TLA+ specs, and stopped at that.

    Formal proof is a static analysis on steroids, if it can't catch bugs that can be caught by a static analysis then what the point of it?

    The report doesn't answer how it happened (I presume) because of: "during our collaboration no TLA+ specification was available. It is unclear what properties might be proven, or whether they described ParticleDB as built.