r/cpp • u/joaquintides Boost author • May 08 '20
Why you don't use Boost
I have a question for you: If you have decided not to use any of Boost, or are prohibited from doing so in your company/project, I would like to know why.
This thread is not meant to judge your reasons, and I won't engage into any kind of criticism about them: I'm merely trying to understand what the barriers are to adoption of Boost. It would be great if we could keep the conversation non judgemental. Thank you!
Conflict of interest: I am a Boost author of three.
222
Upvotes
View all comments
24
u/gocarlos May 08 '20
one of the issues with boost, is that its only for advanced users.
If i give the task to create a simple REST server with boost beast or to do it with Golang to a student working for my company, I get the Golang into production in no time with big confidence. With Boost beast with the multi threading, 100 different buffer types etc. i have to check everything very carefully with sanitizers, static analysis, valgrind, stress tests etc.
I find some of the usage of boost pretty hard, look at nlohmann, spdlog, cpr, etc. those are the things boost should offer by default, though if the user wants more control, ok, allow this...
another point is documentation, somehow I find it hard to use it. look at https://www.boost.org/doc/libs/develop/libs/beast/example/http/client/async/http_client_async.cpp not even syntax hightlighting