D support, not sure what to do
Russel Winder <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, The current D support in SCons is really there to support mixed D and C++ software rather than being the best way of handling solely D codes. Also SCons focuses on the build case where all the source is in the project and all dependencies are available natively on the platform. Like Rust, and Go, and indeed C++ now with Conan, D has the concept of getting packages from a central repository. Rust has Cargo which is a package and build manager, no need for SCons. Go has the go command for getting Git/Mercurial/Bazaar packages and building things, no need for SCons. D has Dub which like Rust's Cargi is a package management and build system. Scons is really a C and C++ system (*), with support for Fortran and D in polyglot systems. Conan must change the game: SCons must support Conan. In some sense Dub removes the need for SCons with D programming. Yet people are using SCons and Meson for building D. For SCons to remain relevant to D, and there is good reasons to do this, it must be able to interwork with Dub to handle getting dependencies from the Dub repository. I am currently "fighting" with trying to make SCons build D codes with Unit-Threaded test framework use. I have to admit I am beginning to wonder why. :-( Which leads to a second issue. D, like Chapel, is beginning to focus on compiling all source at once into a target. None of this compile each module/file/… separately and then link. Meson cannot cope with this from what I can see, which make me wonder if this new replacement for Autotools has built in obsolescence. Chapel and D can both be build file/module by file/module, but optimisation works best on all source at once mode. The Chapel folk are looking at a Cargo style build system, D has Dub. Is it worth pursuing this model in SCons, or is it a waste of effort to try? (*) And obviously XeLaTex, which is now my main use of SCons. -- 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, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljn0KcACgkQ1L3V0s7N p7hQzQ//WKTUH7jBGUHz/O7456+N56FUV84dqcjF0Fcp+vFuSQK7dF6xQi8f8v6l /kDl2V9M/0ScSSMVSWVKXvYacW8odZdxz/uWEphQPxyMUv9bbNYx+Bf0ILXLv4zQ CvD6fA45Ak+I/SWHUcSv6YcV9Xqvwjp/UTBwRFLqSGN109vIzMQp1uM1UefmNfAg yeyVCWVyQSczTOZnoBgVeozPVnz6AXEgbN7tofMrUjW/xosUQmZOK/j+8IsLME+z h6UNGZf9vDp6EPYb4A7gusZF32EGt90FfqIwzF7z5Wpl26mVKh8B46KSsvQOnmW0 yL5w2GLT7aI4k08//EcyS494FnNpeHHyRpaU9kmWW6K3BlSbkBuqrjRtVX72fYDq DEsYUoUSBeOgzZJv1YUQ6ORj0bE0yVjt2EY4FTCdu1t9K66PADugWAkcju/GPSv1 FIKzHEV2jMJfMGd1Z5Lqi3PYxHOwlBW4aupi28+Xm3AAdfAiCdFWZ55qihvegeQS NGT3uGFSUtG0cpJAUiFf/mr7bckVkLBR5OB5hjBvrrxdhKRZXeZMwaX0TxUHnWlC BLS47WPI3+iAz6mAM/mmgODlRkuEzgj9ZiefE64tmKQVCFw6P7iZqDXrXw4kykq2 lLoHTvL7X5i+nZP14HiN+/bKM884pjcU3tXPMNrvXRso4tgZIFI= =lNzx -----END PGP SIGNATURE-----