by mgaunard · 3y ago · 0 comments
I don't understand how conan managed to get so much traction, it is so very bad, most of its recipes have billions of options most of which don't work.
The only sensible way to work with C++ is to always build from source, and let the build system transparently cache and reuse binary artifacts as an optimization.
Importing binary packages is a tradeoff.
Then again, it isn't something that is relevant in GNU/Linux world, only in other platforms.
You would still build your code from source, and be very careful handling any dependencies you don't have the source for.
The worst kind of undefined behaviour you can have in C++ is ODR violations, and importing binaries is more likely than not to trigger them, unless you closely manage their ABI.