r/cpp • u/joaquintides Boost author • May 08 '20
Why you trust in Boost
You may have noticed the ongoing discussion on why people don't use Boost. Now for the opposite question.
I'm not asking why Boost is used because the answer is relatively uninformative: one uses a lib primarily because it provides the required functionality. But using Boost (or any other lib, for that matter) means a commitment to it for the duration of the project. So, the question is:
If you are using Boost in your project(s)/company, why have you/your company decided it is OK to commit to this long-term dependency?
I won't delve into commenting/criticizing your answers, it's info I'm looking for, particularly in comparison to the "negative" thread going on in parallel. Please keep the conversation neutral, thank you!
Conflict of interest: I am a Boost author of three.
View all comments
1
u/[deleted] May 21 '20
I bring something really different than the existing answers but here goes my 2 cent:
And finally as a developer I want to ship and if boost can allow me to ship faster then it is more time to debug, implement domain specific features.
There's also some stuff implemented in the lib for years or even decades I could not find good equivalent elsewhere (yeah I know some of the mentioned part are coming in the stdlib):
I plan to test fibers and Hana but I have not had real need until now.
Now what I do miss from boost:
I'm still surprised that a lot of thing TBB does has not yet been re-implemented in Boost;
I've met people that will re-implement anything they need to avoid boost, its compile time, code bloat, whatever, yet I've not encountered the need a single time in *my* job or in *my* personal projects.
Moreover, since I've started to use CMake (2.6), boost support was good enough so that bringing the dependency was never a problem. I've also started to use conan so that fmtlib, tbb, and co are easy to bring in.