3 ms·
Package management is also drastically simplified because cargo is standard vs you have to basically do everything from scratch in Python land
by vlovich123 5y ago
Package management is also drastically simplified because cargo is standard vs you have to basically do everything from scratch in Python land
- eminence32 5y agoAs a consumer, pip is pretty good though
- vlovich123 5y agoPip isn’t suitable for development. Having a global shared package installation doesn’t work if working on separate codebases. It also doesn’t work because you get implicit dev dependencies and then how do you share those when you want to collaborate? Requirements.txt is a laugh for several reasons. Pip-compile and then installing that into a virtualenv is a neat solution that I found. Not sure if there’s anything meaningfully better yet.
- SnowHill9902 5y agoIs cargo more vulnerable to supply chain attacks than downloading a C++ lib and compiling?
- hamandcheese 5y agoI’m not a big Rust user, but my understanding is that Cargo.lock contains checksums. So the answer to your question would be no. Downloading a C++ lib and using Cargo are both effectively trust on first use.
- eminence32 5y agorust might be more vulnerable in practice because it's so easy to add 3rd-party code (and update 3rd-party code).
- carlmr 5y agoExactly. In C++ everybody just writes their own libraries which enable other kinds of bugs and vulnerabilities.