An unofficial, read-only Hacker News reader.

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

341 points by todsacerdoti 1 day ago | blainehansen.me | 317 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. > Do SPARK Ada subset first. Then, someone can independently write Why3 prover.

    I don't know about Ada, it's a bit heavy on proprietary baggage, but I do vote for Why3 - twice. Creusot is a formal verification tool for Rust that uses Why3.

    https://github.com/creusot-rs/creusot

    Replies (1)
    1. When I looked at it, WhyML looked like an actual, programming language. Gemini just told me it is. That it also extracts to Ocaml, C, and Java. I'd have to check that for hallucinations.

      If programmatic enough, porting WhyML to CakeML might be a worthwhile project.

      Also, embedding the intermediate forms in compilers like QBE and Rust. Then, just directly execute them. From there, work like ALIVE in LLVM can go further.