News for hackers. Stuff that matters.
Re:Cargo-style dependency management for C, C++ and other la... by exDM69 on Wednesday October 21, 2020 @06:16AM (#24846346)
> dependency management tool for C++ is the system's package manager

The system package manager has a different purpose than a "development" package manager.

The system packages are supposed to give you a consistent set of libraries needed to support the application shipped by the distro.

If a package you depend on for daily work, say Firefox, requires libfoo-1.0 and your project needs libfoo-2.1, you're screwed.

Similarly if you're supporting an old release myapp-1.0 for some customers and it needs libfoo-1.0, but at the same time you're working on myapp-2.0 which needs libfoo-2.1, you're out of luck.

The system package manager just doesn't cut it for development work.

Re:Cargo-style dependency management for C, C++ and other la... by rightbyte on Wednesday October 21, 2020 @11:46AM (#24848950)
You can resolve libs by full name beside the system default version.