Backend nearly entirely converted to D

Dukc ajieskola at gmail.com
Wed Nov 7 15:12:13 UTC 2018


On Wednesday, 7 November 2018 at 14:39:55 UTC, Joakim wrote:
> I don't know why you think that would matter: I'm using the 
> same compilers to build each DMD version and comparing the 
> build times as the backend was translated to D.

Because generally, LLVM compilers provide faster code, but 
compile slower than Digital Mars compilers AFAIK. So if you 
compile the D code with DMD but C code with LDC, the program will 
likely compile faster but execute slower as increasing portions 
are written in D, compared to using the same backend for both 
languages.

I'm not sure if you benchmarked the time used to build DMD, or 
the time used by generated DMD to compile some other program. If 
it was the former, the "real" result is probably worse than your 
results. But if it was the latter, it is likely better.


More information about the Digitalmars-d-announce mailing list