DMD backend quality (Was: Re: DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion)

Guillaume Piolat first.last at gmail.com
Mon Feb 17 21:14:31 UTC 2020


On Sunday, 16 February 2020 at 00:16:24 UTC, H. S. Teoh wrote:
> Of course, DMD is still very fast at compiling and useful for 
> smaller utilities and script-like programs where performance 
> isn't critical, or for running unittests for isolated modules 
> during development due to fast turnaround times. But codegen 
> quality is definitely not among the reasons I still use DMD.

I still happily use DMD for most development because it still 
builds faster.
(On Windows, try `dub -a x86 --compiler dmd` and see)

But yes adding -O -inline frightens me.
I think DMD should play its strength of generating code very 
quickly :) even at the expense of output performance.


More information about the Digitalmars-d mailing list