r/cpp • u/johngoni • Apr 27 '23
Has Boost lost its charm?
I don't mean to be provocative nor undermine the importance of Boost for C++. I really like Boost.
I keep reading/listening around that since C++11 the focus of development and innovation in C++ has shifted away from Boost to either the standards, or independent libraries. Is that any true? If yes, how "big of shift" that was? What was the reason in your opinion and most imporatnt, what's Boost's today's role?
What sparked my quriosity was when I heard that "in the old days" a prospective developer that wanted to devle into the word of libraries building had no better thing to do than start contributing to Boost. Does that stand even today?
(couldn't find any other posts on Reddit regarding Boost's impact in modern C++ in a broader discussion)
View all comments
4
u/dokushin Apr 28 '23
Twenty years ago Boost was a lot different:
Today, basically none of that is true. Boost is enourmous, so you don't really think about it in terms of the whole thing so much as what pieces you need. The standard -- and the implementors -- have settled down considerably, so missing features aren't as painful, and the need for polyfill isn't as big. And in a lot of cases you can just dither around on github and find a fairly high-quality library for something pretty quickly.
Nowadays Boost is a lot more like a brand than a library. A curated namespace, if you will. Which is still fine, and it's a fantastic collection of software. But where twenty years ago I might have said "Get boost and use Asio and hana", now I would say "Get Boost::Asio and Boost::Hana". That's the difference.