This e-mail response from Linus Torvalds (think: Linux kernel) is worth a read if you do any programming with shared libraries (he comes out against them):
Subject: Re: Very slow clang kernel config ..
On Fri, Apr 30, 2021 at 8:33 PM [EDITED OUT] <[EDITED OUT]@redhat.com> wrote:
>
> Yes, it’s intentional. Dynamic linking libraries from other packages is
> the Fedora policy[1], and clang and llvm are separate packages (in Fedora).Side note: I really wish Fedora stopped doing that.
Shared libraries are not a good thing in general. They add a lot of
overhead in this case, but more importantly they also add lots of
unnecessary dependencies and complexity, and almost no shared
libraries are actually version-safe, so it adds absolutely zero
upside.
Although never as my primary job, as a programmer, I always thought shared libraries were good. So, at least for me, Torvald’s advice is counterintuitive.