Difference between revisions of "The D Programming Language"

From D Wiki
Jump to: navigation, search
m (link=Get_involved Core Development: typo)
(Link syntax)
Line 33: Line 33:
 
<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?]]
* [[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]] &mdash; [[Current_D_Use | Current uses of D]]
+
* [[Development With D | Development with D]] &mdash; [[Current D Use | Current uses of D]]
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 43: Line 43:
 
<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 #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_tools_32.png|link=Compilers]] Compilers &amp; Tools ==
+
== [[File:Icon tools 32.png|link=Compilers]] Compilers &amp; Tools ==
 
* [[Compilers | D Compilers]] ([[DMD]], [[GDC]], [[LDC]])
 
* [[Compilers | D Compilers]] ([[DMD]], [[GDC]], [[LDC]])
 
* [[Experimental compilers]] ([[SDC]], [[DIL]])
 
* [[Experimental compilers]] ([[SDC]], [[DIL]])
* [[IDEs | IDEs]] &mdash; [[Editors | Text Editors]]
+
* [[IDEs]] &mdash; [[Editors | Text Editors]]
* [[Lexers_Parsers | Lexers, Parsers]]
+
* [[Lexers Parsers | Lexers, Parsers]]
* [[Build_Tools|Build tools]]
+
* [[Build Tools|Build tools]]
* [[Debuggers | Debuggers]] 
+
* [[Debuggers]] 
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 55: Line 55:
 
<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;">
  
== [[File:Icon_docs_32.png|link=http://dlang.org/spec.html]] Documentation ==
+
== [[File:Icon docs 32.png|link=http://dlang.org/spec.html]] Documentation ==
 
* [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)]
 
* [[Books|Books (Online and printed)]]
 
* [[Books|Books (Online and printed)]]
* [[Articles|Articles]] — [[Tutorials]] — [[Cookbook]]
+
* [[Articles]] — [[Tutorials]] — [[Cookbook]]
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 65: Line 65:
 
<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 #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_meta_32.png|link=Meta]] <span style="color:#999;">Meta</span> ==
+
== [[File:Icon meta 32.png|link=Meta]] <span style="color:#999;">Meta</span> ==
 
* [[DWiki:General discussion|Discuss this wiki]] <span style="color:#999;">(Criticise, suggest improvements etc.)</span>
 
* [[DWiki:General discussion|Discuss this wiki]] <span style="color:#999;">(Criticise, suggest improvements etc.)</span>
 
* [[DWiki:Community portal|DWiki Community Portal]]
 
* [[DWiki:Community portal|DWiki Community Portal]]
Line 80: Line 80:
 
<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;">
 
<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 ==
+
== [[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)
 
* [http://forum.dlang.org Forums] / [news://news.digitalmars.com Newsgroup] / [http://lists.puremagic.com/mailman/listinfo Mailing lists] (Same content)
 
* [irc://irc.freenode.net/d IRC: Join <tt>#d</tt>] on [http://freenode.net Freenode]
 
* [irc://irc.freenode.net/d IRC: Join <tt>#d</tt>] on [http://freenode.net Freenode]
 
* [http://www.linkedin.com/groups/D-Developer-Network-3923820 LinkedIn: D Developer Network (DDN)]
 
* [http://www.linkedin.com/groups/D-Developer-Network-3923820 LinkedIn: D Developer Network (DDN)]
* [[D_User_Groups|D User Groups (DUGs)]] — [[Events]]
+
* [[D User Groups|D User Groups (DUGs)]] — [[Events]]
 
* [http://stackoverflow.com/questions/tagged/d D on StackOverflow]
 
* [http://stackoverflow.com/questions/tagged/d D on StackOverflow]
 
* [http://dpaste.dzfl.pl/ DPaste] (Share and run D code in your browser)
 
* [http://dpaste.dzfl.pl/ DPaste] (Share and run D code in your browser)
Line 93: Line 93:
 
<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 ==
* [[Libraries_and_Frameworks | Libraries and Frameworks]]
+
* [[Libraries and Frameworks]]
* [[Open_Source_Projects|Open Source Projects]]
+
* [[Open Source Projects]]
 
* [[Bindings]]
 
* [[Bindings]]
* [[Videos|Videos]]
+
* [[Videos]]
 
* [[Websites]] ([[Websites/Blogs|Blogs]])
 
* [[Websites]] ([[Websites/Blogs|Blogs]])
 
* [[People]] ([[People/Github|On Github]])
 
* [[People]] ([[People/Github|On Github]])
Line 106: Line 106:
 
<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 #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]] Core Development ==
+
== [[File:Icon dev 32.png|link=Get involved]] Core Development ==
* [[Get_involved|Get involved]]
+
* [[Get involved]]
 
* [[DIPs|D Improvement Proposals]]
 
* [[DIPs|D Improvement Proposals]]
* [[Review_Queue|Review Queue]]
+
* [[Review Queue]]
* [[Runtime_internals|Runtime internals]]
+
* [[Runtime internals]]
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 119: Line 119:
 
</table>
 
</table>
  
{{:DMD_Widget}}
+
{{:DMD Widget}}

Revision as of 13:26, 20 January 2013

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

Icon intro 32.png Introduction

Icon tools 32.png Compilers & Tools

Icon docs 32.png Documentation

Icon meta 32.png Meta

Icon community 32.png Community

Icon resources 32.png Resources & Directory

Icon dev 32.png Core Development

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