dmd-built dmd is faster that ldc-built dmd or gdc-built dmd?
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 11 07:09:26 PST 2016
On Friday, 11 March 2016 at 14:46:59 UTC, Vladimir Panteleev
wrote:
> On Friday, 11 March 2016 at 14:32:26 UTC, Iain Buclaw wrote:
>>
>> https://github.com/D-Programming-Language/dmd/blob/master/src/root/rmem.d#L166-L193
>>
>> How memory is allocated makes a huge difference.
>
> Thanks :) After changing that to version(all), LDC is faster
> now. Doesn't build with GDC though (multiple definitions)...
Yes, I know. And if I were to say which behaviour is desired.
I'd say GDC is doing the right thing.
Marking all functions as 'weak' is a terrible idea on both DMD's
and LDC's part.
More information about the Digitalmars-d
mailing list