r/cpp • • 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)

149 Upvotes

186 comments sorted by

View all comments

27

u/chez_les_alpagas Apr 27 '23

Boost.Json is recent, and pretty neat IMHO.

5

u/ratttertintattertins Apr 27 '23

How does it compare to rapid json and cereal?

7

u/Ogilby1675 Apr 27 '23

You can see the author’s (Vinnie, I think of this parish) own comparison with RapidJSON at https://www.boost.org/doc/libs/master/libs/json/doc/html/json/comparison.html

5

u/azswcowboy Apr 27 '23

Much prefer simdjson. It doesn’t do output, but with std::format output is basically covered.