Небольшая подборка полезных фрагментов кода на D
https://lhs-blog.info/programming/dlang/selection-of-useful-code-snippets/
https://lhs-blog.info/programming/dlang/selection-of-useful-code-snippets/