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

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

Re: dmd gdc

2012-01-27 Thread Don Clugston
On 26/01/12 18:59, xancorreu wrote: Al 26/01/12 18:43, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. Yes, both I don't what that

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
There is also gdmd : dmd front end that use gdc On 26/01/12 13:34, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the different between them in

Re: dmd gdc

2012-01-26 Thread Trass3r
There is also gdmd : dmd front end that use gdc It's nothing but a perl script that translates dmd command line options into gdc ones.

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
actually is a d source file that does more than a simple translation ... as dmd On 26/01/12 13:59, Trass3r wrote: There is also gdmd : dmd front end that use gdc It's nothing but a perl script that translates dmd command line options into gdc ones.

Re: dmd gdc

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the different between them in term of inline assembly,

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the

Re: dmd gdc

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. An alternative is ldc, also free. I looked up ldc recently, and it seems that it hasn't been updated for years.

Re: dmd gdc

2012-01-26 Thread Alex Rønne Petersen
On 26-01-2012 18:06, xancorreu wrote: Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 18:43, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. Yes, both An alternative is ldc, also free. I looked up ldc

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 19:48, En/na Alex Rønne Petersen ha escrit: On 26-01-2012 18:06, xancorreu wrote: Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can

Re: dmd gdc

2012-01-26 Thread Trass3r
Building gcc in general is a pain. It's just a little less painful on *nix systems, but still painful. I can't agree. The build instructions contain everything. Has been straightforward for me right from the beginning.

Re: dmd gdc

2012-01-26 Thread Trass3r
I looked up ldc recently, and it seems that it hasn't been updated for years. Seems that gdc is the only other D compiler that's still actively maintained. Please don't spread such misinformation. https://github.com/ldc-developers/ldc/commits/master

Re: dmd gdc

2012-01-26 Thread Jonathan M Davis
On Thursday, January 26, 2012 19:56:22 Trass3r wrote: I looked up ldc recently, and it seems that it hasn't been updated for years. Seems that gdc is the only other D compiler that's still actively maintained. Please don't spread such misinformation.

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
Sorry I made a mistake here: I confused gdmd with rdmd :-) On 26/01/12 14:08, Jerome BENOIT wrote: actually is a d source file that does more than a simple translation ... as dmd On 26/01/12 13:59, Trass3r wrote: There is also gdmd : dmd front end that use gdc It's nothing but a perl

Re: dmd gdc in archlinux

2011-03-08 Thread %u
== Quote from Jonathan M Davis (jmdavisp...@gmx.com)'s article On Monday, March 07, 2011 12:10:27 %u wrote: == Quote from Jonathan M Davis (jmdavisp...@gmx.com)'s article and add /path/to/unzipped/dmd2/linux/bin to your path. how can i add path ? Put it in the appropriate bashrc file

Re: dmd gdc in archlinux

2011-03-07 Thread Andrew Wiley
On Sun, Mar 6, 2011 at 10:55 PM, %u asm...@hotmail.com wrote: == Quote from %u (asm...@hotmail.com)'s article i can't install it and i use this command yaourt -R gdc i mean yaourt -S gdc It looks like in the official repositories, we have dmd, but you're not installing libtango or

Re: dmd gdc in archlinux

2011-03-07 Thread Jonathan M Davis
On Monday, March 07, 2011 09:09:02 Andrew Wiley wrote: On Sun, Mar 6, 2011 at 10:55 PM, %u asm...@hotmail.com wrote: == Quote from %u (asm...@hotmail.com)'s article i can't install it and i use this command yaourt -R gdc i mean yaourt -S gdc It looks like in the official

Re: dmd gdc in archlinux

2011-03-07 Thread Jérôme M. Berger
%u wrote: == Quote from %u (asm...@hotmail.com)'s article i can't install it and i use this command yaourt -R gdc i mean yaourt -S gdc The gdc package is woefully out of date. You should install either gdc1-hg (for D1) or gdc2-hg (for D2) both of which are reasonably maintained

Re: dmd gdc in archlinux

2011-03-07 Thread %u
== Quote from Jonathan M Davis (jmdavisp...@gmx.com)'s article and add /path/to/unzipped/dmd2/linux/bin to your path. how can i add path ?

Re: dmd gdc in archlinux

2011-03-07 Thread Jonathan M Davis
On Monday, March 07, 2011 12:10:27 %u wrote: == Quote from Jonathan M Davis (jmdavisp...@gmx.com)'s article and add /path/to/unzipped/dmd2/linux/bin to your path. how can i add path ? Put it in the appropriate bashrc file - be it your personal .bashrc or /etc/bash.bashrc.local or

dmd gdc in archlinux

2011-03-06 Thread %u
i can't install dmd or gdc in arch linux from AUR i don't way?

Re: dmd gdc in archlinux

2011-03-06 Thread Jérôme M. Berger
%u wrote: i can't install dmd or gdc in arch linux from AUR i don't way? For gdc, which package exactly are you trying to install? On what platform (32 or 64 bits)? And what error do you get? Jerome -- mailto:jeber...@free.fr http://jeberger.free.fr Jabber:

Re: dmd gdc in archlinux

2011-03-06 Thread %u
in dmd: this the error massage object.d: Error: module object is in file 'object.d' which cannot be read import path[0] = /usr/include/d import path[1] = /usr/include/d/druntime/import in gdc: i can't install it and i use this command yaourt -R gdc

Re: dmd gdc in archlinux

2011-03-06 Thread %u
== Quote from %u (asm...@hotmail.com)'s article i can't install it and i use this command yaourt -R gdc i mean yaourt -S gdc