Official compiler

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 25 13:50:18 PST 2016


On 02/25/2016 02:55 PM, rsw0x wrote:
> On Thursday, 25 February 2016 at 19:25:38 UTC, deadalnix wrote:
>> On Thursday, 18 February 2016 at 06:57:01 UTC, Kai Nacke wrote:
>>> If we would make GDC or LDC the official compiler then the next
>>> question which pops up is about compilation speed....
>>>
>>
>> ldc is still significantly faster than clang, or gdc than gcc. I don't
>> think this is that much of a valid concern, especially for smaller
>> programs.
>
> For larger programs, LDC with single-file compilation outdoes DMD by a
> large factor on any recent multi-core CPU for both debug and release
> builds in my tests. DMD did not scale across cores anywhere near as well
> as LDC.
> OTOH, it does not benefit from singleobj this way when doing release
> builds.

Good to know, thanks! -- Andrei


More information about the Digitalmars-d mailing list