Behavior - all of boost is installed when all I want is Asio #3
-
I ran:
And i got
This downloaded 367 MB of source code. Is this expected? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I think I might just use standalone asio. |
Beta Was this translation helpful? Give feedback.
-
Yes. Asio + its dependencies is huge: https://alandefreitas.github.io/boostdep_graph/libs/asio.html 50 transitive dependencies. A few of these dependencies are completely reimplemented in the standalone version of the library. Most of them are due to C++03 support in Boost.Asio. So most of these dependencies are going to go away soon because Boost.Asio will also move to C++11 in the next boost releases. When this happens, only things like Boost.Config should remain as Boost.Asio dependencies. Boost libraries tend to integrate better with Boost.Asio than standalone Asio. So when making the choice between Boost.Asio and standalone Asio I would think more about the probability of needing other Boost libraries in the future than about this number of dependencies. |
Beta Was this translation helpful? Give feedback.
It's not. It's the other way around. Boost.geometry is the one that depends on Boost.Asio. For boost.geometry, it'd be easier to just fetch all boost libraries. In practice, with the exception of Asio, Boost allows you to do a lot with libraries that are level 1 to 5. For instance, mp11 is great and is level 1 IIRC.