r/cpp • u/Xadartt • Jun 13 '24
Limit the number of library dependencies
https://www.sandordargo.com/blog/2024/06/12/builds-and-dependencies
0
Upvotes
12
6
u/prince-chrismc Jun 13 '24
why it’s important to limit the number of dependencies your APIs have
That should have been the title, this was super misleading.
Actually header_only libraries are a bigger factor to slow downs then linking is that does not really hold much air.
0
Jun 13 '24
[deleted]
2
u/petamas Jun 14 '24
Why did you decide to migrate to conan? How does a different package manager solve your problem? The same problem occurs there, too, or I misunderstood what you're talking about.
10
u/goranlepuz Jun 13 '24
I also don't need unique ptr nor the optional nature of a pointer, nor does the caller need the usage of the heap.