On the recordRead 5 Oct 202623 facts
Dafny
On the record
- Audience
- Dafny is used in academia for teaching and research and in industry, including by teams at Amazon.dafny.org · read 5 Oct 2026
- Compilation targets
- Dafny compiles code to C#, Java, JavaScript, Go, and Python, with more targets in development.dafny.org · read 5 Oct 2026
- Dependencies
- The Dafny tool is a .NET 8.0 artifact, and the Z3 tool is required to use Dafny for verification.dafny.org · read 5 Oct 2026
- Desktop support
- The installation guide lists Windows, Linux, and macOS binary builds and tests Dafny on supported operating system versions.dafny.org · read 5 Oct 2026
- IDE integrations
- The Dafny ecosystem includes a Visual Studio Code extension powered by a Language Server Protocol implementation, plus a code formatter.dafny.org · read 5 Oct 2026
- Intended users
- The project describes Dafny as used in academia for teaching and research and in industry, including by teams at Amazon.dafny.org · read 5 Oct 2026
- Known target limits
- The installation guide describes Rust support as partial and growing and C++ support as rudimentary and special-purpose.dafny.org · read 5 Oct 2026
- Language features
- The language supports classes, iterators, arrays, tuples, generic and subset types, inductive datatypes, lambdas, and mutable and immutable data structures.dafny.org · read 5 Oct 2026
- Learning resources
- The Dafny documentation links to a getting-started tutorial, reference manual, FAQs, error explanations, verification optimization guide, style guide, and examples.dafny.org · read 5 Oct 2026
- License
- The Dafny software is licensed under the MIT License.github.com · read 5 Oct 2026
- Other editor integration
- The installation guide describes using Dafny with Emacs as well as Visual Studio Code.dafny.org · read 5 Oct 2026
- Product
- Dafny is a verification-aware programming language with native specification support and a static program verifier.dafny.org · read 5 Oct 2026
- Proof features
- Its proof toolbox includes quantifiers, calculational proofs, lemmas, preconditions, postconditions, termination conditions, loop invariants, and read/write specifications.dafny.org · read 5 Oct 2026
- Purpose
- It helps developers write code that can be verified against specifications to reduce the risk of late-stage bugs.dafny.org · read 5 Oct 2026
- Requirements
- The Dafny tool is a .NET 8.0 artifact, and Dafny plus its bundled Z3 tool are sufficient for verification; compiling and running generated programs may require additional tools.dafny.org · read 5 Oct 2026
- Security reporting
- The project asks people who discover a potential security issue to notify its security contact instead of creating a public GitHub issue.github.com · read 5 Oct 2026
- Support
- The project homepage directs users to a Zulip channel to ask questions about Dafny.dafny.org · read 5 Oct 2026
- Target requirements
- Compiling generated code requires tools for the selected target language, such as .NET for C#, Node.js for JavaScript, and Go tools for Go.dafny.org · read 5 Oct 2026