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

jxel jxel at gmall.com
Tue Feb 18 04:11:51 UTC 2020


On Monday, 17 February 2020 at 22:25:17 UTC, Walter Bright wrote:
> On 2/17/2020 1:14 PM, Guillaume Piolat wrote:
>> 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.
>
> No worries, there are no plans to change the fast path through 
> the backend.

If DMD used LDC to build itself, it'd run even faster. There's a 
PR open for that iirc.


More information about the Digitalmars-d mailing list