6 ms·
cargo doesn't do a terribly good job of caching dependencies. Might be better than whatever C++ does though.
by vmchale 6y ago
cargo doesn't do a terribly good job of caching dependencies.
Might be better than whatever C++ does though.
- pjmlp 6y agoCurrently C++ is still a better experience, because using binary dependencies is quite common, so you don't compile the whole world, rather just your own application. Then most organizations have staging areas where you can share binaries across the company. And the two package managers that have been growing community support, conan and vcpkg, support caching and distribution of binary dependencies. No doubt cargo will eventually get something similar, it just isn't there today.
- adamnemecek 6y agoYou can do this with a build script.
- pjmlp 6y agoSo goodbye declarative builds.
- adamnemecek 6y agoI thought I cared about declarativeness, turns out I don't.
- pjmlp 6y agoExperience has taught me to always care about it, except when working on throw away hobby projects with teams of one, turns out not using it doesn't scale across organisations and makes for very unhappy DevOps teams.