Re:The reference D compiler is now open source
by CyberShadow on Friday April 07, 2017 @04:25PM
(#14063219)
For some reference: DMD (the reference D compiler this thread is about), which consists of about 160000 lines of D code and 100000 more lines of C++ code, compiles in a bit over 3 seconds on my machine.
Re:The reference D compiler is now open source
by WalterBright on Friday April 07, 2017 @07:41PM
(#14064306)
Counting lines of code per second for C++ can be tricky, because the .h files get compiled over and over for each project. The DMD front end is compiled with one command, and each D source file is read/parsed/compiled only once.
Well… it's relatively slow in release mode, but C++ compilers can often be slower. GHC is always slower :D