logoalt Hacker News

jandrewrogerstoday at 2:56 AM0 repliesview on HN

Definitely not. Boost is specifically prohibited in many companies. I haven’t run into Boost in a source tree in over a decade.

There are many reasons for this. Boost has uneven quality. Many of the best bits end up in the C++ standard. New versions sometimes introduce breaking changes. Recent versions of C++ added core language features that make many Boost library features trivial and clean to implement yourself. Boost can make builds much less pleasant. Boost comes with a lot of baggage.

Boost was a solution for when template metaprogramming in C++ was an arcane unmaintainable mess. Since then, C++ has intentionally made massive strides toward supporting template metaprogramming as a core feature that is qualitatively cleaner and more maintainable. You don’t really need a library like Boost to abstract those capabilities for the sake of your sanity.

If you are using C++20 or later, there isn’t much of a justification for using Boost these days.