Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
D (programming language)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Multi-paradigm system programming language}} {{About||other programming languages named D|D (disambiguation)#Computing|other uses|D (disambiguation)}} {{Promotional|date=January 2024}} <!-- {{cleanup |reason=This article is all over the place, the history section is pre-empted by content in the features section, which rambles and I suspect spends most of it's space/time discussing programming metaparadigms, instead of delivering a focussed, encyclopedia-like summary and overview of what a thing is, in this case D, the programming language. This could be alleviated by stealing the historical information from the features section, and putting that into the history section where it belongs, which could be placed above the features section so that the reader has the information they need up front.|date=November 2021}} --> {{Use dmy dates|date=April 2018}} {{Infobox programming language | name = D programming language | logo = D Programming Language logo.svg | paradigm = [[Multi-paradigm programming language|Multi-paradigm]]: [[functional programming|functional]], [[imperative programming|imperative]], [[object-oriented programming|object-oriented]] | released = {{start date and age|df=y|2001|12|08}}<ref name="D1 changelog1" /> | designer = [[Walter Bright]], [[Andrei Alexandrescu]] (since 2007) | developer = [[D Language Foundation]] | typing = [[Inferred typing|Inferred]], [[static typing|static]], [[strong typing|strong]] | implementations = [https://github.com/dlang/dmd DMD] ([[reference implementation]]), [https://gcc.gnu.org/ GCC], [https://gdcproject.org/ GDC], [https://github.com/ldc-developers/ldc LDC], [https://github.com/SDC-Developers/SDC SDC] | dialects = | influenced = Genie, MiniD, [[Qore (programming language)|Qore]], [[Swift (programming language)|Swift]],<ref name="Swift - Getting the location of a caller">{{cite web |url=https://developer.apple.com/swift/blog/?id=15 |title=Building assert() in Swift, Part 2: __FILE__ and __LINE__ |access-date=25 September 2014}}</ref> [[Vala (programming language)|Vala]], [[C++11]], [[C++14]], [[C++17]], [[C++20]], [[Go (programming language)|Go]], [[C Sharp (programming language)|C#]], others | license = [[Boost Software License|Boost]]<ref name="D-frontend-license" /><ref name="boost-backend">{{cite web |url=https://forum.dlang.org/post/oc8acc$1ei9$1@digitalmars.com |title=dmd Backend converted to Boost License |date=7 April 2017 |access-date=9 April 2017}}</ref><ref>{{cite web |url=http://dlang.org/faq.html |title=D 2.0 FAQ |access-date=11 August 2015}}</ref> <!-- GDC: [[GNU General Public License#Version 3|GPLv3+]];<br/>LDC: GPLv2+, partly [[BSD licenses|BSD]] -->| website = {{URL|dlang.org}} | wikibooks = D Programming | caption = | file_ext = .d<ref>{{cite web |url= https://fileinfo.com/extension/d |title=D Programming Language - Fileinfo.com |access-date=15 November 2020}} {{citation needed|date=September 2020}}</ref><ref>{{cite web |url= https://dlang.org/dmd-windows.html |title=D Programming Language - dlang.org |access-date=15 November 2020}}{{citation needed|date=September 2020}}</ref><!-- DO NOT ADD .di HERE. It is not part of the language, it is part of the implementation. --> | latest release version = {{wikidata|property|reference|edit|P348}} | latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}} | influenced_by = [[BASIC]],<ref>{{cite web |url=https://news.ycombinator.com/item?id=33846139 |title=On: Show HN: A nice C string API |date=December 3, 2022 |access-date=4 December 2022 |website=[[Hacker News]]}}</ref> [[C (programming language)|C]], [[C++]], [[C Sharp (programming language)|C#]], [[Eiffel (programming language)|Eiffel]],<ref>{{cite book |last1=Alexandrescu |first1=Andrei |title=The D programming language |url=https://archive.org/details/dprogramminglang00alex |url-access=limited |date=2010 |publisher=Addison-Wesley |location=Upper Saddle River, New Jersey |isbn=978-0321635365 |page=[https://archive.org/details/dprogramminglang00alex/page/n341 314] |edition=First}}</ref> [[Java (programming language)|Java]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]] | operating_system = [[FreeBSD]], [[Linux]], [[macOS]], [[Microsoft Windows|Windows]] }} '''D''', also known as '''dlang''', is a [[multi-paradigm programming language|multi-paradigm]] [[System programming language|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 language]]s. Notably, it has been influenced by [[Java (programming language)|Java]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[C Sharp (programming language)|C#]], and [[Eiffel (programming language)|Eiffel]]. The D language reference describes it as follows: {{Blockquote|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.<ref>{{Cite web |title=Introduction - D Programming Language |url=https://dlang.org/spec/intro.html |access-date=2024-04-21 |website=dlang.org}} {{Free-content attribution|license statement URL= https://github.com/dlang/dlang.org/blob/master/LICENSE.txt|license= BSL-1.0|this= yes}}</ref>}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)