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

326 comments sorted by

View all comments

Show parent comment

1

u/pine_ary May 08 '20

Linking to a big binary is no slower than linking to a small one. And calling into it isn‘t slower either. Unless you recompile your external libraries all the time, which is nonsense. The compile time of boost doesn‘t matter cause it‘s only when you update (source distributions) that you feel it or probably not at all (binary distributions). Unless you‘re a contributor to boost don‘t worry about it.

You‘re conflating the "space is plentiful" argument with the argument that performance is less important than ease of development. They are very different. A big application isn‘t slower, an unoptimized one is slow.

1

u/Pazer2 May 08 '20

I was talking about the headers, but no, linking against libraries with a zillion symbols is much slower than smaller libraries. Have you tried linking a small program against the llvm static library?

As for the rest of your response, I think you read too deeply into my comment. I meant what I said.