DMD is faster than LDC and GDC

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 12 13:16:29 PST 2015


On 11/12/2015 6:44 AM, John Colvin wrote:
> dmd is being clever and spotting that fmttable is pure, it would be good if
> ldc/gdc could spot this to.

It's more than that - dmd's optimizer is designed to make use of the guarantees 
of a pure function. Since C/C++ do not have pure functions, ldc/gdc's optimizer 
may not have that capability.


More information about the Digitalmars-d mailing list