D

A fast systems programming language with native Design by Contract support.

Resources & Links

📚 Learning & Educational Resources

Contract Programming

Overview of D's built-in contract programming: preconditions, postconditions, and invariants enforced at runtime with language-level support for inheritance and tooling.

💻 Tools & Compilers

DUB

DUB is D's official package manager and build tool. It handles dependencies, project scaffolding, compilation, and integrates with IDEs and third-party build systems.

LDC

LDC is an LLVM-based D compiler offering modern optimizations and code generation. Fully open source, BSD-licensed, supports latest D2.

📖 Documentation & Wikis

Features Overview

Official comparison table showing how D implements key programming language features across paradigms and use cases.

Programming in D for C Programmers

Guide for C programmers showing how familiar C idioms and techniques translate to D equivalents.

Programming in D for C++ Programmers

Guide for C++ programmers showing how familiar C++ idioms and techniques translate to D equivalents.

The C Preprocessor vs D

Comparison of C preprocessor features vs D's built-in alternatives which show how D solves macro/conditional compilation problems without a separate preprocessing step.

🛠 Playgrounds & Interactive Tools

Welcome to D

Interactive tutorial teaching D