bendlang/bend
Fast parallel language that blocks AI mistakes via proof
- Chart
- Not on a chart right now
- Stars
- 25.6k
What it is
Bend 2 is a programming language with dependent types and linearity that runs across CPUs and GPUs while verifying code correctness with mathematical proofs. Developers declare invariants in `LAWS.bend`, and the compiler enforces them by requiring proofs via `bend PROOF.bend` whenever code changes.
Who it is for
It is suited for developers who want to verify AI-generated code without reading every line or run divide-and-conquer workloads across GPU cores.
Why it is trending
Following its Bend 2.0.40 release, the repository gained 127 stars today, reaching 25,555 stars in total. It stands out for combining fast proof checking with automatic CPU and GPU parallelism to block AI coding mistakes at compile time.
Main features
- Enforces application rules in `LAWS.bend` using `bend PROOF.bend`
- Automatically parallelizes divide-and-conquer code across CPU and GPU cores without threads or locks
- Compiles to fast executables with sub-second proof checking
- Combines Python-like syntax with dependent types, plus a formatter and LSP
Summarized on November 19, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary