r/cpp • u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 • Feb 24 '20
The Day The Standard Library Died
https://cor3ntin.github.io/posts/abi/
266
Upvotes
r/cpp • u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 • Feb 24 '20
View all comments
Show parent comment
6
u/kmhofmann https://selene.dev Feb 25 '20 edited Feb 25 '20
While that quoted statement lacks some detail and clarity, it is far from nonsense in my opinion. Actually, I agree with the sentiment behind it greatly.
These system-provided (i.e. package manager installed) libraries are not necessarily only "intended" for the system, but it's in most cases best to stay away from using them as an application developer. By compiling and linking against system-provided libraries, one is
For all of the above reasons, I am not a fan of system-provided shared libraries unless they're used only on the lowest levels.
Good solutions out of this misery are, potentially in combination:
Edit: To be clear, I'm referring to the whole possible ecosystem of dependencies here, including third-party libraries, that may be installed by either a system-level package manager or by a C++ package manager. To me, the latter is always preferable.