Difference between revisions of "The D Programming Language"

From D Wiki
Jump to: navigation, search
m
(Simplify)
Line 18: Line 18:
 
<syntaxhighlight lang="D">import std.stdio;
 
<syntaxhighlight lang="D">import std.stdio;
  
int main(string[] args)
+
void main()
 
{
 
{
 
     writeln("Hello, world!");
 
     writeln("Hello, world!");
    return 0;
 
 
}</syntaxhighlight>
 
}</syntaxhighlight>
[http://dpaste.dzfl.pl/37b4a9a4 &#9654; Run code]
+
[http://dpaste.dzfl.pl/97ec8a2c &#9654; Run code]
  
 
</td>
 
</td>

Revision as of 21:23, 23 November 2012


The D Programming Language

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 praxis 32.png Praxis

Icon community 32.png Community

Icon dev 32.png Core Development

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

MediaWiki Help

Consult the User's Guide for information on using the wiki software, or see the MediaWiki FAQ.

Useful Links