Interesting lesson from Rust/Cargo?
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 23 00:33:53 PDT 2017
This issue (its a very long read: https://github.com/rust-lang/rust-roa
dmap/issues/12 ) on the Rust Roadmap repository indicates that
integrating Rust with Bazel and Buck are important roads to traction in
the C++/Python circles for Google and Facebook. This may or may not be
an interesting thing to try and do for D.
The lesson though is that any form of integration is not done till
crates.io is accessible using the build system not Cargo. The inference
is that, for D, accessing the Dub repository (and DVCS repositories)
from Dub, CMake, Meson, and Scons is the right thing to do. Dub clearly
can handle Dub (but not DVCS repositories?).
Experiments with using Dub to fetch and compile packages for SCons –
since packages only have Dub specifications, it makes no sense to try
and download from Dub and build with SCons – are progressing and show
it feasible. The same now needs doing for Meson and CMake.
Can Dub pull packages from DVCS repositories? If not this must be added
since this is a crucially useful feature of Cargo for those at the
bleeding edge.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170623/9399b39f/attachment.sig>
More information about the Digitalmars-d
mailing list