C++ Programming/Programming Languages/Comparisons/D

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] D

The D programming language, also known simply as D, was developed in-house by Digital Mars, the language specification and D compiler (Windows and Linux) is freely distributed for free on their web site. Only the compiler front-end is licensed under both the Artistic License and the GNU GPL; sources for the front-end are distributed along with the compiler binaries. The compiler back-end is proprietary.

Digital Mars is a small US software company, also known for producing a C compiler (known over time as Datalight C compiler, then Zorland C and then Zortech C) and a C++ compiler (known as Zortech C++ that is attribute to be the first C++ compiler for Windows, renamed later as Symantec C++ and now Digital Mars C++ (DMC++) and associated to utilities such as an IDE for Windows (supporting the MFC library).

D originated as a re-engineering of C++, but even though it is predominantly influenced by that language, it is also a multi-paradigm language, it is not a variant of it. D has redesigned some C++ features and has been influenced by concepts used in other programming languages, such as Java, C# and Eiffel.

Wikibooks has a D Programming book, in this section we will point out some features were D is distinct from C++:

  • D does not support multiple inheritance.
TODO

TODO
Complete with distinctions from C++ to D