Evergreen claims a systems language that is provably safe and faster than C

Evergreen: A Provably Safe Systems Language

Evergreen puts preconditions, postconditions, and data invariants directly beside the code they describe, turning them into obligations the compiler must check. It tracks explicit memory layouts, ownership, and borrowed references, and erases proofs, inductive lemmas, and ideal computations after verification so runtime performance stays intact. The project bills itself as more powerful than C and safer than Rust, with a WebAssembly playground that runs locally in the browser.

Write down what must hold. Let the compiler check that it does.
  1. skybrian

    It sounds like you know what you’re doing but the documentation seems rather shallow and I don’t quite get it. I think you’re going to need a real language specification. I like how Go does it.

    There is some apparently AI-generated prose that needs rewriting for clarity. For example, in the tutorial:

    > The caller proves where; the implementation proves ensures. A precondition failure stops compilation before any program runs.

    Fron the readme:

    > I think you get it now.

    Nope, I skimmed, because the syntax is unfamiliar.

    > Memory model is in a tree of "planes". The stack is a tree. Each function is a node. Each variable is another node. If it's a struct then it's also a node. Down to the most atomic types, which are just the integers.

    Meaning what? This needs to be explained better.

  2. jordan_bonecut

    This language has been something I've wanted to build for years. For a while I thought I'd get my PhD and build it there. But now it's very possible to have Claude build it while I'm at work and give it intense code review every day. It's still not in a "useful" place yet, but I'm curious what fellow programmers think of a language like this. If I continue work is this something anyone thinks they'd enjoy using? Would love some feedback, thanks!

  3. sharifhsn

    I took a skim and I like the ideas, but you should go further with proving elements of real systems. For example, drivers for Linux, if your whole goal is to prove these things while being a systems language. Although I confess that I don't understand its output, are you using a compiler backend like LLVM? Should be in README.

  4. MichaelNolan

    Broadly speaking, does Evergreen allow me to prove/enforce more invariants than what Verus/rust allows? Evergreen certainly looks cleaner since its built in rather than bolted on.

  5. gtutino

    That's basically SPARK (the Ada subset) but with c-like syntax (more or less).

More from this day

2026-11-04