參考資訊: https://github.com/dlang main.d
import std.stdio; void main() { writeln("Hello, world!"); }
編譯、執行
$ gdc main.d -o main $ ./main Hello, world!