3 ms·
To paraphrase JWZ... "Some people, when confronted with a dependency problem, think 'I know, I'll use Docker.' Now they have two problems." Unfortunately ther
by pavlov 10y ago
To paraphrase JWZ...
"Some people, when confronted with a dependency problem, think 'I know, I'll use Docker.' Now they have two problems."
Unfortunately there's no single answer. Static libraries vs. dynamic? Global install or packages from a repo? Everything depends on the degree of control you have over the deployment environment.
- pathsjs 10y agoYeah, I know, I don't want to use docker. The problem is that C and C++ offer no real option in this camp. I'd be happy with anything that resolves and download dependencies, builds them locally (using CMake?) and adds the correct headers and library dir configurations to my project. But I could not find anything that really works
- oblio 10y agoTrue, C/C++ have it a bit more complex. But is it really an unsolvable problem? One would think that with the level of investment in C/C++ someone would be able to create something all the hipster languages have done in the last 20 years. I guess Gentoo's emerge would be the closest thing to a "good" C/C++ package manager we have today, which I find a bit funny :)
- AstralStorm 10y agoC++ standard committee is working on an intermediate step in the right direction: module support.
- deleted 10y ago[deleted]
- evacchi 10y agoIMO, since the trend today seems to be building static binaries, I'd like to see an opinionated tool that made that use case stupid simple.