• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 month ago

    I’m not so sure that dynamic libraries always reduces the size. Specially with libraries that are linked by a single binary.

    With static libraries, you can conditionally compile only the features you’re gonna use. With dynamic libraries, however, the whole library must be compiled.

    EDIT: just to clarify, I’m not saying that static libraries result always in less size. I’m saying that it’s not a black and white issue.