What is the most stable D compiler

rikki cattermole via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 14 04:42:09 PDT 2016


On 14/09/2016 11:37 PM, eugene wrote:
> On Wednesday, 14 September 2016 at 11:35:46 UTC, rikki cattermole wrote:
>> On 14/09/2016 11:34 PM, eugene wrote:
>>> What is the most reliable D compiler: dmd, ldc, gdc?
>>> Which can be used in production?
>>> Why there are 3(maybe more) compilers and not just one?
>>
>> What exactly do you define as stable?
>
> i mean without bugs in compiler

Okay well all three compilers share a frontend with all new work being 
done in dmd.

GDC is the slowest to update currently so that can be ignored for now.
LDC has fairly fast updates in terms of the frontend and can target more 
platforms.

So the question is simply, do you care about performance or platform 
availability over faster bug fixes and new features?

Most people develop using dmd because of the fast turn around times, but 
utilize ldc IF they need performance in the end program.
But in most cases you don't need to worry about performance or platform 
support so dmd wins out.


More information about the Digitalmars-d mailing list