You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The difference in compilation time is almost 2x, see dub Travis-CI.
I'm a little fed up by dmd's bad optimizer (and codegen bugs), but switching the compiler would be a much simpler choice if LDC compiled debug builds almost as fast as dmd.
I guess you guys know what the problems are. Have you already tried to optimize compile times?
The text was updated successfully, but these errors were encountered:
FWIW, using a parallel makefile I find ldc to be -much- faster than DMD - LDC's optimized compile times can often beat DMD without optimization when using make. DMD seems to choke on input that isn't grouped together in one pass so it doesn't see much of a speedup at all from parallel make.
Really?
That sounds weird because LDC uses the same frontend and also suffers from the overhead of separate compilation. With D's module system, it's inherently more efficient to compile multiple modules at once, because you common imports only get parsed once.
...and how can we make it faster?
The difference in compilation time is almost 2x, see dub Travis-CI.
I'm a little fed up by dmd's bad optimizer (and codegen bugs), but switching the compiler would be a much simpler choice if LDC compiled debug builds almost as fast as dmd.
I guess you guys know what the problems are. Have you already tried to optimize compile times?
The text was updated successfully, but these errors were encountered: