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

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

313 points by todsacerdoti 20 hours ago | blainehansen.me | 299 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Lean 4 itself is a general purpose functional programming language with dependent types in addition to being a interactive theorem prover. Only the latter has been made famous/popular by the mathematicians.

    Idris, Agda are (like Lean4) functional languages and proof assistants. Dafny, Ada SPARK are imperative and automated solver languages.

    Languages like C/C++ which do not have powerful type systems nor are verification aware have tools like Frama-C, CBMC etc. to help with their formal verification. Rust also has some external formal verification tools.

    With growing awareness of formal verification due to LLMs one (or more) of them is sure to become "mainstream".