Note on Issue 1924, SCons and D

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
Sorry to have been away from SCons, I probably can't come back to
anything till after October.

I am getting some issue notifications and spotted that William is
fixing the D imports issue. Thanks for taking that on. Even with the
rise of Dub as a package management and build tool in the D milieu,
CMake and SCons still have a role, so it is important to be up to date
with the language specification. 

There is some effort to get a D plugin to IntelliJ IDEA, but that will
be Dub based. To get D support for CLion requires the CMake support.
 JetBrains are not keen on supporting SCons since they have CMake and
Gradle – and Gradle now does C++ builds.

The core point prompting the email is though just to clarify the issue
of DMD, GDC and LDC.

DMD is the mainline and reference implementation but it has a weird
licence for part of it and so Debian and Fedora do not package it.
Whilst it compiles very quickly and produced good code, it is not the
best generated code. GDC sits in the GCC and so targets anything GCC
does with excellent optimization, but the front end version is now
quite old in comparison to DMD and LDC. LDC sits atop LLVM and has
relatively up-to-date front end and an excellent back end (obviously :-
). For many (including me) LDC is the production compiler of choice.

Sadly GDC and LDC packages on Debian (Fedora do not package GDC) are
set up to use the same location for all the module sources. Given that
GDC and LDC are different D versions this is untenable. This means it
is not sensible to try and install both GDC and LDC onto the same
machine using package management, at least on Debian. The Fedora LDC
package is so old it is embarrassing for the Fedora packagers.
  
The upshot of this is that for testing only GDC and LDC can be tested
without adding extra package sources (d-apt for Debian, or use Arch),
and that, at least on Debian, only one of GDC or LDC can be installed
at any one time – not sure about Arch. The MacPorts situation is
difficult, not sure about Homebrew. Windows is always a problem, I am
not sure Chocolatey has caught up, though it is getting traction.


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAABCgAGBQJXsDdWAAoJENS91dLOzae4MS8P/0zkkgGGV2jP2EBPP1DNZLQC
udgQCr/lgDasSidNgl5x00qxLKccFjGhg9J0pDQ8JB+qAnYFjeLIQIDQYTxlBLPM
NSFo3W3PZnSEFNZOmxhRxVGB9MyP1FCZ3b/pJyYl8K5n657tq9pb4XkZm9LpOEHY
aSotLAz034Nxynfr52HUYcT0ozKwJQOC7sf2SboLUCRDO3QqXEI4cu4YQZ8/cBB0
KMrxUed9u4TfcTaW3riZIFIn01eDwuw2EUUX91rBcAAjfjpOQrBCZIWaPKk6spTr
RiSoOZfM0RFog9b9cQr13qCGgb/PkZSbFC4Cy8W7w0NYZmY5xPCoAMeQriyyyRKZ
Q78qFUvjU+XnJOJnH+Uw4tQ9bsu/pbAnWg//sRMzJ6UHKApYQVgXbehGn9JG1cUn
PPdyh8HNJZiZ7zWfifmzNmtzrxmtrpdSBYrZezEYM+ladMyraX998u/vfY6n6g0t
0P/Ube3uRHOSr5n7kYCMJnDSlRxidJo/dU42HPTPyaBNId5righ3p0kESgb2B5xT
+j/wzilf/RSUQuuygV2cvDqEkAdO5+kCwPpT3XJqoWyzO0eXPkodUlMtAKaQqhy5
pMXkrDw1ZCqdzMdelZ9H3ShKwmXT4OqHNV/pve5r+EeVO1imhNXSrisKL90+g5B/
G7ceKD10HZkaTjA0TRlt
=awaE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.