Quora: Why hasn't D started to replace C++?
Seb
seb at wilzba.ch
Thu Feb 1 17:13:52 UTC 2018
On Thursday, 1 February 2018 at 16:17:45 UTC, H. S. Teoh wrote:
> On Thu, Feb 01, 2018 at 03:47:50PM +0000, Russel Winder via
> Digitalmars-d wrote:
>> On Thu, 2018-02-01 at 15:27 +0000, Benny via Digitalmars-d
>> wrote:
>> >
>> […]
>> > Nothing wrong with choice as long as that choice does not
>> > introduces issues. Currently there are 3 compilers but also
>> > 3 different ways to install ( depending on the platform ).
>> > DMD has a installer, LDC needs a manual copy job + path
>> > creation, GDC did not even bother with ( sorry ).
>>
>> For me:
>>
>> aptitude install ldc
>> aptitude install gdc
>> aptitude install dmd-bin
>> aptitude install dub
>>
>> Seems to work fine, and no conflicts.
> [...]
>
> Only because the OS has a sane packaging system (and some
> people were kind enough to package the compilers in nice
> packages). For less-privileged OSes, the user experience could
> be drastically different. ;-)
>
>
> T
curl https://i.dlang.io/install.sh | bash -s dmd
~/dlang/install.sh ldc
~/dlang/install.sh gdc
Works on all Posix systems
Now to use LDC as default:
. ~/dlang/install.sh -a ldc
Didn't we have this discussion yesterday already?
See also: https://dlang.org/install.html
More information about the Digitalmars-d
mailing list