Difference between revisions of "The D Programming Language"
m (→Hello World) |
|||
Line 24: | Line 24: | ||
return 0; | return 0; | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||
− | + | [http://dpaste.dzfl.pl/37b4a9a4 ▶ Run code] | |
</td> | </td> | ||
Line 36: | Line 36: | ||
<tr> | <tr> | ||
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #e9e7d4; 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; padding:0 1em 1em 1em; background-color: #f9f7e4; align:right;vertical-align:top;"> | ||
+ | |||
== [[File:Icon_intro_32.png|link=Why_switch_to_D]] Introduction == | == [[File:Icon_intro_32.png|link=Why_switch_to_D]] Introduction == | ||
* [[Why_switch_to_D|Why switch to D]] | * [[Why_switch_to_D|Why switch to D]] |
Revision as of 14:54, 23 November 2012
The D Programming LanguageThe 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 Worldimport std.stdio;
int main(string[] args)
{
writeln("Hello, world!");
return 0;
}
|
|
|
Latest DMD: D2·110·0 Download — Changelog — Source code — Bug tracker — More » ✎
MediaWiki HelpConsult the User's Guide for information on using the wiki software, or see the MediaWiki FAQ. Useful Links |