July 06, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puming | On Wednesday, 6 July 2016 at 07:10:07 UTC, Puming wrote:
> It's been suggested that DMD/LDC/GDC could be combined into a bundle, say DCC, and when you call
>
> DCC hello.d
>
> it will call dmd hello.d,
>
> and if you call
>
> DCC -fast hello.d
>
> it will call ldc hello.d or gdc hello.d
>
> This will give newcomers a different experience.
Problem with that is ldc and gdc are always a few versions behind dmd.
|
July 06, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Wednesday, 6 July 2016 at 07:22:26 UTC, Tofu Ninja wrote:
> Problem with that is ldc and gdc are always a few versions behind dmd.
LDC is quite close now.
LDC v1.0.0 was released June 6 with DMD 2.070.2 compatibility. DMD 2.070.2 was released Mar 3 and superseded by 2.071.0 on Apr 5 (and 2.071.1 on June 27).
|
July 06, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to qznc | On Wednesday, 6 July 2016 at 07:38:50 UTC, qznc wrote:
> On Wednesday, 6 July 2016 at 07:22:26 UTC, Tofu Ninja wrote:
>> Problem with that is ldc and gdc are always a few versions behind dmd.
>
> LDC is quite close now.
>
> LDC v1.0.0 was released June 6 with DMD 2.070.2 compatibility. DMD 2.070.2 was released Mar 3 and superseded by 2.071.0 on Apr 5 (and 2.071.1 on June 27).
This is a great point. DMD feels incomplete on its own, and that's a real adoption blocker. The downsides of keeping the LDC and DMD releases in sync seem like a price worth paying.
Are the licenses compatible enough to release them as one thing?
|
July 07, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | You know I just had an idea for documentation that might be nice. Why not make all the examples interactive like the "Your code here" box on the front page? We have the technology, could be cool. |
July 07, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Thursday, 7 July 2016 at 04:37:30 UTC, Tofu Ninja wrote: > You know I just had an idea for documentation that might be nice. Why not make all the examples interactive like the "Your code here" box on the front page? We have the technology, could be cool. That's already WIP, but turned out to be harder than initially thought: https://github.com/dlang/dlang.org/pull/1297 |
July 08, 2016 Re: Blocking points for further D adoption | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puming | > It's been suggested that DMD/LDC/GDC could be combined into a bundle, say DCC, and when you call
>
> DCC hello.d
>
> it will call dmd hello.d,
>
> and if you call
>
> DCC -fast hello.d
>
> it will call ldc hello.d or gdc hello.d
>
> This will give newcomers a different experience.
I'm wondering if you couldn't achieve DMD's compilation speed in LDC by turning off some of the optimisation passes for debug builds. I understand that it will probably still be slower to compile, but if it's a negligible difference, and the community can fully support a single compiler I think that would be really good for D as a whole.
|
Copyright © 1999-2021 by the D Language Foundation