D (programming language)

D programming language
ParadigmMulti-paradigm: functional, imperative, object-oriented
Designed byWalter Bright, Andrei Alexandrescu (since 2007)
DeveloperD Language Foundation
First appeared8 December 2001; 22 years ago (2001-12-08)[1]
Stable release
2.109.1[2] Edit this on Wikidata / 1 July 2024; 4 months ago (1 July 2024)
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#, others
Preview warning: Page using Template:Infobox programming language with unknown parameter "caption"

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 now a very different language. As it has developed, it has drawn inspiration from other high-level programming languages. Notably, it has been influenced by Java, Python, Ruby, C#, and Eiffel.

The D language reference describes it as follows:

D is a general-purpose systems programming language with a C-like syntax that compiles to native code. It is statically typed and supports both automatic (garbage collected) and manual memory management. D programs are structured as modules that can be compiled separately and linked with external libraries to create native libraries or executables.[11]

  1. ^ Cite error: The named reference D1 changelog1 was invoked but never defined (see the help page).
  2. ^ "2.109.1". Retrieved 7 July 2024.
  3. ^ Cite error: The named reference D-frontend-license was invoked but never defined (see the help page).
  4. ^ "dmd Backend converted to Boost License". 7 April 2017. Retrieved 9 April 2017.
  5. ^ "D 2.0 FAQ". Retrieved 11 August 2015.
  6. ^ "D Programming Language - Fileinfo.com". Retrieved 15 November 2020. [citation needed]
  7. ^ "D Programming Language - dlang.org". Retrieved 15 November 2020.[citation needed]
  8. ^ "On: Show HN: A nice C string API". Hacker News. 3 December 2022. Retrieved 4 December 2022.
  9. ^ Alexandrescu, Andrei (2010). The D programming language (First ed.). Upper Saddle River, New Jersey: Addison-Wesley. p. 314. ISBN 978-0321635365.
  10. ^ "Building assert() in Swift, Part 2: __FILE__ and __LINE__". Retrieved 25 September 2014.
  11. ^ "Introduction - D Programming Language". dlang.org. Retrieved 21 April 2024.  This article incorporates text from this free content work. Licensed under BSL-1.0 (license statement/permission).