dafny-lang/dafny
Dafny is a verification-aware programming language observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 99
- Release rhythm 32
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 48.5
- age_days: 3791
- days_rel: 373
- days_push: 8
- n_releases_24m: 5
Adoption not part of the score
3516 stars · 326 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Dafny is a verification-aware programming language with native support for writing specifications and a built-in static verifier powered by SMT solving (Z3). It compiles verified code to C#, Go, Python, Java, or JavaScript and ships with IDE plugins, a language server, and a formatter.
Use cases
- write provably correct code against formal specifications
- verify algorithms with pre/postconditions and loop invariants
- teach formal methods and program verification in courses
- catch specification violations before runtime instead of relying on tests
- compile verified code to C#, Java, Go, Python, or JavaScript
- construct mathematical proofs about software with lemmas and calculational proofs
When to choose
- you need high assurance that code meets its specifications
- you are teaching or learning formal verification
- you are building safety- or correctness-critical algorithms
- you want verification integrated into your editor as you type
When to avoid
- you need a general-purpose language with a large ecosystem and libraries
- your team has no experience with formal specifications
- you need fast iteration without verification overhead
- you target platforms outside the supported compilation backends
Facets
cli-tool · maturity active
programming-language compiler interpreter type-system developer-tools programming-languages compilers developer-tools education windows cross-platform cli editor-plugin dotnet formal-verification static-verification smt-solver z3 specification-language proof-assistant transpilation lsp programming-language algorithms macos linux
4 sources
- readme: https://github.com/dafny-lang/dafny · fetched 2026-08-28 · e44a2e855e1a
- homepage: https://dafny.org · fetched 2026-08-29 · 4e70d2680887
- site_page: https://dafny.org/latest/Installation · fetched 2026-08-29 · c8fb016ac7dd
- site_page: https://dafny.org/Snapshots · fetched 2026-08-29 · 99797549a6b8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dafny-lang/dafny | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="dafny-lang/dafny")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem