Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-25 Thread Ernesto Castellotti via Digitalmars-d-learn
On Monday, 24 July 2023 at 13:51:18 UTC, Richard (Rikki) Andrew Cattermole wrote: On 25/07/2023 1:26 AM, devosalain wrote: I could be interesting to also compare the licenses of the 3 compilers. There isn't a huge difference between them. The frontend, druntime and most of phobos (minus zlib

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-25 Thread IchorDev via Digitalmars-d-learn
On Monday, 24 July 2023 at 13:30:27 UTC, cc wrote: Is there any list of known significant "gotchas" with moving to LDC from DMD? Any unexpected surprises to watch out for or be careful for? I'm thinking of all the "features" of DMD that are now considered verboten by many users (e.g.

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Guillaume Piolat via Digitalmars-d-learn
On Monday, 24 July 2023 at 09:20:05 UTC, BoQsc wrote: There are three compilers present in the Dlang website: DMD GDC and LDC DMD can build much faster than LDC. In some cases it is quite extreme, for example the product I work on has a 3.6x faster debug build time with DMD (well, only with

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Johan via Digitalmars-d-learn
On Monday, 24 July 2023 at 13:51:06 UTC, Steven Schveighoffer wrote: DMD is the point of all D feature introductions, and so anything that works with LDC should work with DMD. It's the other way around that might cause trouble, since there may be DMD features which haven't yet made it into

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Dennis via Digitalmars-d-learn
On Monday, 24 July 2023 at 13:30:27 UTC, cc wrote: Is there any list of known significant "gotchas" with moving to LDC from DMD? Any unexpected surprises to watch out for or be careful for? - DMD has weak linking for all functions by default (mostly as a workaround to several bugs). In LDC,

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 25/07/2023 1:26 AM, devosalain wrote: I could be interesting to also compare the licenses of the 3 compilers. There isn't a huge difference between them. The frontend, druntime and most of phobos (minus zlib and curl) are all Boost regardless of compiler. That just leaves backends,

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Steven Schveighoffer via Digitalmars-d-learn
On 7/24/23 9:30 AM, cc wrote: On Monday, 24 July 2023 at 09:29:09 UTC, Richard (Rikki) Andrew Cattermole wrote: There isn't a huge concern with which one you use. Its quite common to use dmd for development, and ldc for release for example. They all share the same frontend, so they really

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 25/07/2023 1:30 AM, cc wrote: Is there any list of known significant "gotchas" with moving to LDC from DMD?  Any unexpected surprises to watch out for or be careful for?  I'm thinking of all the "features" of DMD that are now considered verboten by many users (e.g. compiling with

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread cc via Digitalmars-d-learn
On Monday, 24 July 2023 at 09:29:09 UTC, Richard (Rikki) Andrew Cattermole wrote: There isn't a huge concern with which one you use. Its quite common to use dmd for development, and ldc for release for example. They all share the same frontend, so they really only differ between them by

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread devosalain via Digitalmars-d-learn
I could be interesting to also compare the licenses of the 3 compilers.

Re: Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
There isn't a huge concern with which one you use. Its quite common to use dmd for development, and ldc for release for example. They all share the same frontend, so they really only differ between them by their glue code to the relevant backend and some modules in druntime that are

Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

2023-07-24 Thread BoQsc via Digitalmars-d-learn
There are three compilers present in the Dlang website: DMD GDC and LDC