There was a time where this debate was bigger. It seems the world has shifted towards architectures and tooling that does not allow dynamic linking or makes it harder. This compromise makes it easier for the maintainers of the tools / languages, but does take away choice from the user / developer. But maybe that’s not important? What are your thoughts?

  • Oscar
    link
    English
    1
    edit-2
    10 months ago

    Static linking usually makes it easier by not having to manage dependencies (just build it once so it just werks). Its bloaty though due to the increased file size.

    It might also not even be an option due to licensing issues, for example if a dependency uses a copyleft license like (L)GPL you would have to relicense your own software under (L)GPL as well, and release your source, when distributing statically linked binaries.