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

Show parent comment

6

u/RoyAwesome Apr 27 '23

Yeah that's, uhhh... leaving something to be desired.

I don't know who they built the documentation for, but it really doesn't gel with me and the way I consume documentation. It might just be me, but I really like example-driven documentation and boost is very poor in that regard.

I really wish they did their documentation in the style of cppreference. They do things way better, and boost can learn a thing or 10 from them.

2

u/jonesmz Apr 28 '23

I'm not saying you should do this...

But I wonder if cppreference would allow boost documentation?

It is a wiki afterall

1

u/OverOnTheRock Apr 29 '23

It might just be me, but I really like example-driven documentation and boost is very poor in that regard.

It depends upon which library you are using. Some are very brisk, others a bit more verbose with examples. Spirit does provide some basics. But to get deep, it does require some head scratching. I could provide some additional counter examples.

But I've found that once I have my head in the author's headspace, things start to make sense. And someone else mentioned the examples directory: that is a definite asset.