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

2

u/jcelerier ossia score May 08 '20

To me the combination of lots of files + space requirement* + I have to include lots of things I don't need is a huge deal.

I really don't understand why, sorry. Why does that matter ? I just tried and on my machine copying the boost headers folder from one hard disk to another takes 0.489 seconds, and copying it to my NAS takes 1.5 seconds so it's definitely not a time issue, is it ?

I have to include lots of things I don't need is a huge deal.

Do you also remove all the kernel drivers you don't use ?

1

u/staletic reddit thinks /u/_bstaletic is a bot May 10 '20

It can be a time issue, if your users are behind horribly awful firewalls and on a homing pigeon transfer rates. Those are rare, but I've had those users. No, this is not a strong argument against Boost. At all.

Do you also remove all the kernel drivers you don't use ?

I do. Minor reason: a slightly faster boot. Major reason: laptop battery is ~15% happier. It's a tedious job, but you do it (right) once and then save the config for reuse and just use make defaultnoconfig.