If Zortech C++ and dmc++ are fast, why is dmd's asm slow?

Abdulhaq alynch4047 at gmail.com
Sun May 30 12:43:22 UTC 2021


On Saturday, 29 May 2021 at 23:43:48 UTC, James Lu wrote:
> On Saturday, 29 May 2021 at 23:36:34 UTC, Adam D. Ruppe wrote:
>> On Saturday, 29 May 2021 at 23:34:47 UTC, James Lu wrote:
>>> If Zortech C++ and dmc++ are fast, why is dmd's asm slow? I 
>>> thought they used the same machine code backend.
>>
>> They were fast in 1988. Even in 1998.
>>
>> But since then they've only gotten a little better, whereas 
>> the competition has gotten a LOT better.
>
> That makes sense.
>
> Why does DMD only have a -O flag, not a -O2?
>
> The competition got heavier– slower compiles, too.
>
> I wonder if it could be possible to get some CS PhD candidate 
> to work on dmc++ to bring its backend up to modern standards.

Why stop at -O2? The languages of the future will go to -O11.




More information about the Digitalmars-d mailing list