Bend

A programming language with Python-like syntax that combines C-level speed, GPU parallelism, and Lean-style proofs. The idea is that you write invariants your code must satisfy in a LAWS.bend file, and a change — whether written by a human or an agent — can't merge until it proves the law still holds. It's among the most-read topics on Hacker News today.

How to try it

  1. Install with: `curl -fsSL https://bend-lang.com/install.sh | sh` (read the script before running it).
  2. Run `bend guide` to get the full language documentation.
  3. Try the LAWS.bend example from the guide to see how a change gets blocked until the proof passes.
  4. The code is on GitHub if you want to look at the implementation and the type theory papers behind it.

Price: free, open source

Official link

More new tools