cover image

D, also known as dlang, is a multi-paradigm system programming language created by Walter Bright at Digital Mars and released in 2001. Andrei Alexandrescu joined the design and development effort in 2007. Though it originated as a re-engineering of C++, D is a profoundly different language —features of D can be considered streamlined and expanded-upon ideas from C++,[11] however D also draws inspiration from other high-level programming languages, notably Java, Python, Ruby, C#, and Eiffel.

Quick facts: Paradigm, Designed by, Developer, First&...
D programming language
ParadigmMulti-paradigm: functional, imperative, object-oriented
Designed byWalter Bright, Andrei Alexandrescu (since 2007)
DeveloperD Language Foundation
First appeared8 December 2001; 20 years ago (2001-12-08)[1]
Stable release
2.100.2[2]  / 10 September 2022; 2 months ago (10 September 2022)
Typing disciplineInferred, static, strong
OSFreeBSD, Linux, macOS, Windows
LicenseBoost[3][4][5]
Filename extensions.d[6][7]
Websitedlang.org
Major implementations
DMD (reference implementation), GCC,

GDC,

LDC, SDC
Influenced by
BASIC,[8] C, C++, C#, Eiffel,[9] Java, Python
Influenced
Genie, MiniD, Qore, Swift,[10] Vala, C++11, C++14, C++17, C++20, Go, C#, and others.
Close

D combines the performance and safety of compiled languages with the expressive power of modern dynamic and functional[12] programming languages. Idiomatic D code is commonly as fast as equivalent C++ code, while also being shorter.[13] The language as a whole is not memory-safe[14] but includes optional attributes designed to guarantee memory safety of either subsets of or the whole program.[15]

Type inference, automatic memory management and syntactic sugar for common types allow faster development, while bounds checking, design by contract find bugs earlier at runtime and a concurrency-aware type system catches bugs at compile time.[16]

Oops something went wrong: