• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 days 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.