Skip to content
NewA calmer, faster ZeroHour

Bend – A language that blocks AI mistakes via proof and runs on GPUs

Hacker News · AIby nicolas-siplis ()3 min read1 · 1 read
AI summary · glm-5.3-flashSummaries by Vani AI

Bend is a new programming language combining C-speed compilation, GPU parallelism, and Lean-style proofs that stop AI agents from merging code violating declared laws.

Bend is a programming language whose type checker acts as a proof checker, letting developers declare invariants in LAWS.bend that AI coding agents must prove with PROOF.bend before committing. It compiles to native code running near C speed on a single core and up to 100x faster across GPU cores, with automatic parallelism requiring no threads or locks. The project publishes two papers, BendTT (an affine dependent type theory) and BendRT (a parallel CPU/GPU runtime), and integrates with AGENTS.md workflows for AI-driven 'vibe coding'.

Key facts
  • Proof-checking type system verifies AI-written code against laws declared in LAWS.bend.
  • Compiles to native code with near-C single-core speed and up to 100x faster on GPUs.
  • Automatic parallelism spreads calls across CPU cores and CUDA GPUs without threads or locks.
  • Ships with AGENTS.md integration so agents run proofs before committing changes.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

3 min read at bend-lang.com

In the post-AGI economy, humans will eventually stop writing and reading code, but we still need an ambiguity-free way to tell the AIs building the world around us what we want done.

Hacker News · AI

By nicolas-siplis · bend-lang.com

Read the full article at Hacker News · AI

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.