Automated source translation of C++ to D

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 21 11:16:02 PDT 2014


On Thursday, 21 August 2014 at 17:57:13 UTC, Joakim wrote:
> Yes, I'm aware of ddmd.  You've mentioned many times that it 
> only works because dmd is written using a very unC++-like 
> style, to the point where github's source analyzer claims that 
> dmd is written in 66.7% C, 28.4% D (presumably the tests right 
> now), 4.4% C++, and 0.5% other. :)

That's just because the C++ DMD files have a .c extension. The 
joke about it being written in C+ is fitting but the source code 
is pretty easily identified as C++ (if only because it makes 
frequent use of classes).


More information about the Digitalmars-d mailing list