4 ms·
Linking a static library into your program will increase your binary size, linking to a shared library will not. Smaller binary size is one of the benefits that
by ajxs 7y ago
Linking a static library into your program will increase your binary size, linking to a shared library will not. Smaller binary size is one of the benefits that shared libraries offer.
That decision is entirely up to the developer and the project requirements. If you're not writing a bare-metal program there's no reason why not to use external libraries. It's still perfectly possible.