An Overview of the D Programming Language
D is a general purpose, multi-paradigm programming language based on C.
It was originally created to be a better descendent of C than C++.
And, hence the name, B -> C -> D
rather than B -> C -> C++
.
D is designed to be performant, but it is as easy to use as dynamic or functional programming languages. An idiomatic D program is generally shorter than, and yet as fast as, the corresponding C++ program.
D Main Features
- D is a compiled programming language with a number of syntactic sugar.
- D supports concurrency aware static type system.
- D supports type inference.
- D supports object-oriented as well as functional programming styles.
- D does not support multiple inheritance like C++.
- D supports automatic memory management.
Hello World in D
import std.stdio;
void main() {
writeln("Hello World!");
}
More on Hello World in D
If you are interested in finding out more about the D programming language, then here's an explanation of the Hello World program in D in a little more detail:
- Hello World (D): D Hello World - A quick explanation
C C++ C# Clojure Crystal Dart Erlang F# Go Haskell Java Javascript Julia Kotlin Lua Python Rust Scala Swift Typescript