D
D is an actively used programming language created in 2001. The D programming language is an object-oriented, imperative, multi-paradigm system programming language created by Walter Bright of Digital Mars and released in 2001. Bright was joined in the design and development effort in 2007 by Andrei Alexandrescu. Though it originated as a re-engineering of C++, D is a distinct language, having redesigned some core C++ features while also taking inspiration from other languages, notably Java, Python, Ruby, C#, and Eiffel. Read more on Wikipedia...
19Years Old | 3,967Users | 41Jobs |
- D ranks in the top 1% of languages
- the D website
- the D wikipedia page
- D first appeared in 2001
- file extensions for D include d and di
- tryitonline has an online D repl
- See also: freebsd, linux, c, csharp, eiffel, java, python, minid, vala, swift, genie, ruby, assembly-language, llvmir, cil, eclipse-editor, visual-studio-editor, emacs-editor, vim-editor, textmate-editor, visual-studio-code-editor, gdb, utf-8
- Have a question about D not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
// Hello World in D import std.stdio; void main() { writefln("Hello World!"); }
Example code from Linguist:
unittest { }
Example code from Wikipedia:
1 import std.stdio, std.algorithm, std.range, std.string; 2 3 void main() 4 { 5 dstring[][dstring] signs2words; 6 7 foreach(dchar[] w; lines(File("words.txt"))) 8 { 9 w = w.chomp().toLower(); 10 immutable key = w.dup.sort().release().idup; 11 signs2words[key] ~= w.idup; 12 } 13 14 foreach(words; signs2words) 15 if(words.length > 1) 16 writefln(words.join(" ")); 17 }
Trending Repos
repo | stars | description |
---|
Last updated August 9th, 2020