Difference between revisions of "The D Programming Language"

From D Wiki
Jump to: navigation, search
(link=Compilers Compilers & Tools)
(41 intermediate revisions by 15 users not shown)
Line 22: Line 22:
 
     writeln("Hello, world!");
 
     writeln("Hello, world!");
 
}</syntaxhighlight>
 
}</syntaxhighlight>
[http://dpaste.dzfl.pl/97ec8a2c &#9654; Run code]
+
[https://run.dlang.io &#9654; Run code]
  
 
</td>
 
</td>
Line 28: Line 28:
 
<tr>
 
<tr>
 
<td>
 
<td>
[[File: dlogo.png|left|link=http://dconf.org/2015/index.html]]
+
[[File:Dconf_logo_2018.jpg|left|448px|link=http://dconf.org/2018/index.html]]
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 41: Line 41:
 
<td style="vertical-align:top; width:50%;">
 
<td style="vertical-align:top; width:50%;">
 
<table cellspacing="10" style="width:100%;">
 
<table cellspacing="10" style="width:100%;">
 +
 
<tr>
 
<tr>
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #e9e7d4; border-bottom: 2px solid #c9c7b4; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #f9f7e4; align:right;vertical-align:top;">
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #e9e7d4; border-bottom: 2px solid #c9c7b4; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #f9f7e4; align:right;vertical-align:top;">
 
 
== [[File:Icon intro 32.png|link=Why program in D]] Introduction ==
 
== [[File:Icon intro 32.png|link=Why program in D]] Introduction ==
 
* [[Why program in D|Why program in D?]]
 
* [[Why program in D|Why program in D?]]
 +
* [https://tour.dlang.org Take the tour]
 
* [[Getting Started | Getting started]]
 
* [[Getting Started | Getting started]]
 
* [[First Language | Learning D as a first language]] &mdash; [[Coming From | As a second language]]
 
* [[First Language | Learning D as a first language]] &mdash; [[Coming From | As a second language]]
* [[Development With D | Development with D]]
+
* [https://dlang.org/orgs-using-d.html Current uses of D] by organizations and notable projects  
* [[Current D Use | Current uses of D]] by organizations and notable projects  
 
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
 
<tr>
 
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #e9e7d4; border-bottom: 2px solid #c9c7b4; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #f1f7df; align:right;vertical-align:top;">
+
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #c0d9e2; border-bottom: 2px solid #a0b9c2; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #e4f4f9; align:right;vertical-align:top;">
  
== [[File:Icon tools 32.png|link=Compilers]] Compilers &amp; Tools ==
+
== [[File:Icon community 32.png|link=http://forum.dlang.org]] Community ==
* [[Compilers | D Compilers]] ([[DMD]], [[GDC]], [[LDC]])
+
* [http://forum.dlang.org Forums] / [news://news.digitalmars.com Newsgroup] / [http://lists.puremagic.com/mailman/listinfo Mailing lists] (Same content)
* [[Experimental compilers]] ([[SDC]], [[DIL]])
+
* [http://dlang.org/orgs-using-d.html Organizations using D]
* [[IDEs]] &mdash; [[Editors | Text Editors ]] &mdash; [[Editor-features]]
+
* [irc://irc.freenode.net/d IRC: Join <tt>#d</tt>] on [http://freenode.net Freenode]
* [[Development tools]]
+
* [https://discord.gg/bMZk9Q4 D Code Club] on Discord
* [[Lexers Parsers | Lexers, Parsers]]
+
* [https://dlang.org/blog Official blog]
* [[Build Tools|Build tools]]
+
* [http://planet.dsource.org/ Planet D]
* [[Debuggers]] 
+
* [http://arsdnet.net/this-week-in-d/ This Week in D]
* [http://dpaste.dzfl.pl/ DPaste] - Share and run D code in your browser (DMD, LDC); [http://melpon.org/wandbox/permlink/5d1KzyiEo6Wpuggw Wandbox (GDC)]
+
* [http://www.linkedin.com/groups/D-Developer-Network-3923820 LinkedIn: D Developer Network (DDN)]
* [http://asm.dlang.org/ Interactive D Compiler and Disassembler] ([http://ldc.acomirei.ru/ LDC]) ([http://explore.dgnu.org/ GDC]) ([http://d.godbolt.org/ Another GDC])
+
* [https://plus.google.com/communities/100033468228217743303 Google+: D Programming Enthusiasts]
 +
* [https://www.facebook.com/dlang.org Facebook: D Programming Language]
 +
* [https://www.xing.com/net/dlang XING - D Programming Language]
 +
* [https://www.meetup.com/topics/dpl/|D User Groups (DUGs)] — [[Events]]
 +
* [http://stackoverflow.com/questions/tagged/d D on StackOverflow]
 +
* [http://rosettacode.org/wiki/Category:D D on RosettaCode] - See solutions of common programming tasks in the D programming language.
 +
* [http://www.reddit.com/r/d_language/ reddit: /r/d_language]
 +
* [[GSOC_2019_Ideas | Google Summer of Code 2019 (GSoC)]]
 +
* [[Research_scholarship | Research Scholarship]]
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
 +
<tr>
 +
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dddddd; border-bottom: 2px solid #bbb; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color:#f2f2f2; align:right;vertical-align:top;">
 +
 +
== [[File:Icon dev 32.png|link=Get involved]] Contributing ==
 +
* [[Get involved]]
 +
* [https://trello.com/dlang Trello Board]
 +
* [[DIPs|D Improvement Proposals]] (DIPs)
 +
* [[Review Queue]]
 +
* [[Runtime internals]]
 +
* [[Vision/2018H1|High-level vision for 2018 1nd half]]
 +
* [[Beta Testing]]
 +
* [[Language_issues | Language Issues]]
 +
* [[Language_design_discussions | Language Design Discussions]]
 +
* [[Wish_list | Wish list and action list]]
 +
* [https://www.bountysource.com/teams/d/issues Bounties]
 +
</tr>
 +
 +
</table>
 +
</td>
 +
<td style="vertical-align:top; width:50%;">
 +
<table cellspacing="10" style="width:100%;">
 +
 
<tr>
 
<tr>
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #d0e2c0; border-bottom: 2px solid #b0c2a0; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #eaf7df; align:right;vertical-align:top;">
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #d0e2c0; border-bottom: 2px solid #b0c2a0; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #eaf7df; align:right;vertical-align:top;">
Line 73: Line 105:
 
* [http://dlang.org/spec.html D Language Specification]
 
* [http://dlang.org/spec.html D Language Specification]
 
* [http://dlang.org/phobos/index.html Standard Library Reference (Phobos)]
 
* [http://dlang.org/phobos/index.html Standard Library Reference (Phobos)]
* [http://ddocs.org Third-party library documentation]
+
<!--* [http://ddocs.org Third-party library documentation]-->
 
* [[Commonly-Used Acronyms]]
 
* [[Commonly-Used Acronyms]]
 
* [[Books|Books (Online and printed)]]
 
* [[Books|Books (Online and printed)]]
Line 79: Line 111:
 
* [[ResearchPapers| Research papers]]
 
* [[ResearchPapers| Research papers]]
 
* [[Language Designs Explained]]
 
* [[Language Designs Explained]]
 +
* [[Language History and Future]]
 
</td>
 
</td>
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #eee; border-top: 2px solid #ccc; border-bottom: 1px solid #f6f6f6; padding:0 1em 1em 1em; background-color:#fff; align:right;vertical-align:top;">
+
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #e9e7d4; border-bottom: 2px solid #c9c7b4; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #f1f7df; align:right;vertical-align:top;">
  
== [[File:Icon meta 32.png|link=Meta]] <span style="color:#999;">Meta</span> ==
+
== [[File:Icon tools 32.png|link=Compilers]] Compilers &amp; Tools ==
* [[DWiki:General discussion|Discuss this wiki]] <span style="color:#999;">(Criticise, suggest improvements etc.)</span>
+
* [[Compilers | D Compilers]] ([[DMD]], [[GDC]], [[LDC]])
* [[DWiki:Community portal|DWiki Community Portal]]
+
* [[Experimental compilers]] ([[SDC]], [[DIL]])
 +
* [[IDEs]] &mdash; [[Editors | Text Editors ]]
 +
* [[Development tools]]
 +
* [[Lexers Parsers | Lexers, Parsers]]
 +
* [[Build Tools|Build tools]]
 +
* [[Debuggers]]
 +
* [[Continuous Integration | Continuous Integration services]]
 +
* [[Online compilers|Online compilers and disassemblers]]
 
</td>
 
</td>
 
</tr>
 
</tr>
  
</table>
 
 
</td>
 
<td style="vertical-align:top; width:50%;">
 
<table cellspacing="10" style="width:100%;">
 
 
<tr>
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #c0d9e2; border-bottom: 2px solid #a0b9c2; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #e4f4f9; align:right;vertical-align:top;">
 
 
== [[File:Icon community 32.png|link=http://forum.dlang.org]] Community ==
 
* [http://forum.dlang.org Forums] / [news://news.digitalmars.com Newsgroup] / [http://lists.puremagic.com/mailman/listinfo Mailing lists] (Same content)
 
* [[Jobs]]
 
* [irc://irc.freenode.net/d IRC: Join <tt>#d</tt>] on [http://freenode.net Freenode]
 
* [http://planet.dsource.org/ Planet D]
 
* [http://arsdnet.net/this-week-in-d/ This Week in D]
 
* [http://www.linkedin.com/groups/D-Developer-Network-3923820 LinkedIn: D Developer Network (DDN)]
 
* [https://plus.google.com/communities/100033468228217743303 Google+: D Programming Enthusiasts]
 
* [https://www.facebook.com/dlang.org Facebook: D Programming Language]
 
* [https://www.xing.com/net/dlang XING - D Programming Language]
 
* [[D User Groups|D User Groups (DUGs)]] — [[Events]]
 
* [http://stackoverflow.com/questions/tagged/d D on StackOverflow]
 
* [http://rosettacode.org/wiki/Category:D D on RosettaCode] - See solutions of common programming tasks in the D programming language.
 
* [http://www.reddit.com/r/d_language/ reddit: /r/d_language]
 
* [[GSOC_2015_Ideas | Google Summer of Code 2015 (GSoC)]]
 
* [[How_You_Can_Help | How you can help with D]]
 
</td>
 
 
</tr>
 
 
<tr>
 
<tr>
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dde0e9; border-bottom: 2px solid #bdc0c9; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #edf0f9; align:right;vertical-align:top;">
 
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dde0e9; border-bottom: 2px solid #bdc0c9; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color: #edf0f9; align:right;vertical-align:top;">
  
 
== [[File:Icon resources 32.png|link=Libraries and Frameworks]] Resources & Directory ==
 
== [[File:Icon resources 32.png|link=Libraries and Frameworks]] Resources & Directory ==
 +
* [https://code.dlang.org/ Official package repository]
 
* [[Libraries and Frameworks]]
 
* [[Libraries and Frameworks]]
 
* [[Open Source Projects]]
 
* [[Open Source Projects]]
Line 135: Line 148:
  
 
<tr>
 
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dddddd; border-bottom: 2px solid #bbb; border-top: 1px solid #fff; padding:0 1em 1em 1em; background-color:#f2f2f2; align:right;vertical-align:top;">
+
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #eee; border-top: 2px solid #ccc; border-bottom: 1px solid #f6f6f6; padding:0 1em 1em 1em; background-color:#fff; align:right;vertical-align:top;">
  
== [[File:Icon dev 32.png|link=Get involved]] Core Development ==
+
== [[File:Icon meta 32.png|link=Meta]] <span style="color:#999;">Meta</span> ==
* [[Get involved]]
+
* [[DWiki:General discussion|Discuss this wiki]] <span style="color:#999;">(Criticise, suggest improvements etc.)</span>
* [https://trello.com/dlang Trello Board]
+
* [[DWiki:Community portal|DWiki Community Portal]]
* [[DIPs|D Improvement Proposals]] (DIPs)
+
</td>
* [[Review Queue]]
+
</tr>
* [[Runtime internals]]
 
* [[Vision/2015H1|High-level vision for 2015 1st half]]
 
* [[Beta Testing]]
 
* [[Language_issues | Language Issues]]
 
* [[Language_design_discussions | Language Design Discussions]]
 
* [https://www.bountysource.com/teams/d/issues Bounties]
 
  
</tr>
 
 
</table>
 
</table>
 
 
</td>
 
</td>
 
</tr>
 
</tr>

Revision as of 13:48, 25 November 2018

The D Programming Language has been said to be "what C++ wanted to be," which is a better C. D is developed with system level programming in mind, but brings to the table modern language design with a simple C-like syntax. For these reasons D makes for a good language choice for both performance code and application development.

D is rapidly reaching a stable specification and implementation.

"The D Programming Language" by Andrei Alexandrescu is available on Amazon and other locations.

Hello World

import std.stdio;

void main()
{
    writeln("Hello, world!");
}

▶ Run code

Dconf logo 2018.jpg

Icon intro 32.png Introduction

Icon community 32.png Community

Icon dev 32.png Contributing

Icon docs 32.png Documentation

Icon tools 32.png Compilers & Tools

Icon resources 32.png Resources & Directory

Icon meta 32.png Meta

Latest DMD: D2·107·0 DownloadChangelogSource code —  Bug trackerMore »