News for hackers. Stuff that matters.
Re:All C++20 core language features with examples by saurik on Wednesday April 07, 2021 @11:02AM (#26725934)
People definitely have strong opinions on submodules, but it is nowhere near so one-sides: a ton of people hate them, and a ton of people swear by them. FWIW, all of the Rust libraries I use are available as git repositories. With many other package managers, I can tell them "don't use the upstream copy from the package repo: use the copy I have in this folder" in a trivial manner. I thereby don't really want "automation" around either downloading the code for me to mirror or for the submodules I want: I want to set it up and then configure it so it is all "honored"... and I could totally see the feature you talking about somehow only working one way (with automatic copies) instead of being flexible.
Re:All C++20 core language features with examples by Ar-Curunir on Wednesday April 07, 2021 @11:46AM (#26726597)
Rust allows you to override dependencies via the patch directive in your Cargo.toml: https://doc.rust-lang.org/edition-guide/rust-2018/cargo-and-...
Re:All C++20 core language features with examples by steveklabnik on Wednesday April 07, 2021 @11:43AM (#26726545)
Rust also lets you do that trivially, by saying "hey here is where the folder is".