Thread overview | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 14, 2016 What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
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? |
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to eugene | 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?
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | 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
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to eugene | 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.
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | yes, speed is a second matter, so the first matter is reliability, i.e.: the less bugs compiler has, the more it is stable, which of them is the most stable one? |
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to eugene | On Wednesday, 14 September 2016 at 11:34:22 UTC, eugene wrote:
> What is the most reliable D compiler: dmd, ldc, gdc?
because it's slightly before DMD the answer is: LDC.
GDC is too far behind
DMD is at the front
LDC has most of the DMD fixes but sometimes without the regressions coming from the front.
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Klmp | On Wednesday, 14 September 2016 at 11:52:00 UTC, Klmp wrote:
> On Wednesday, 14 September 2016 at 11:34:22 UTC, eugene wrote:
>> What is the most reliable D compiler: dmd, ldc, gdc?
>
> because it's slightly before DMD the answer is: LDC.
> GDC is too far behind
> DMD is at the front
> LDC has most of the DMD fixes but sometimes without the regressions coming from the front.
did you use ldc in production?
do you use ldc in production?
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to eugene | On Wednesday, 14 September 2016 at 12:13:33 UTC, eugene wrote: > On Wednesday, 14 September 2016 at 11:52:00 UTC, Klmp wrote: >> On Wednesday, 14 September 2016 at 11:34:22 UTC, eugene wrote: >>> What is the most reliable D compiler: dmd, ldc, gdc? >> >> because it's slightly before DMD the answer is: LDC. >> GDC is too far behind >> DMD is at the front >> LDC has most of the DMD fixes but sometimes without the regressions coming from the front. > > did you use ldc in production? > do you use ldc in production? LDC (exclusively afaik) is used by Weka.io (http://www.weka.io). Pretty serious "production use". -Johan |
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to eugene | On Wednesday, 14 September 2016 at 12:13:33 UTC, eugene wrote:
> On Wednesday, 14 September 2016 at 11:52:00 UTC, Klmp wrote:
>> On Wednesday, 14 September 2016 at 11:34:22 UTC, eugene wrote:
>>> What is the most reliable D compiler: dmd, ldc, gdc?
>>
>> because it's slightly before DMD the answer is: LDC.
>> GDC is too far behind
>> DMD is at the front
>> LDC has most of the DMD fixes but sometimes without the regressions coming from the front.
>
> did you use ldc in production?
> do you use ldc in production?
Yes. I only ever send builds made with LDC to customers, both for freelance work and products. Why?
I've found that with DMD there is a bigger chance of backend regressions. Using LDC you get to rely on a pretty rock-solid code generator.
I do use DMD for all dev builds.
|
September 14, 2016 Re: What is the most stable D compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Klmp | On Wednesday, 14 September 2016 at 11:52:00 UTC, Klmp wrote: > On Wednesday, 14 September 2016 at 11:34:22 UTC, eugene wrote: >> What is the most reliable D compiler: dmd, ldc, gdc? > > because it's slightly before DMD the answer is: LDC. I meant slightly "behind", "before" is not appropriated. i understand the misunderstanding in the following comments. I meant that for LDC being just one step behind is an asset because there's always a risk of regression in DMD. > GDC is too far behind > DMD is at the front > LDC has most of the DMD fixes but sometimes without the regressions coming from the front. |
Copyright © 1999-2021 by the D Language Foundation