News for hackers. Stuff that matters.
Re:Suckless.org: software that sucks less by kazinator on Saturday February 22, 2025 @09:30PM (#43145783)
This becomes the same question as when and why are dynamic libraries useful over static linking!

Suppose whatever you are shipping consists of five executables, which have a few hundred kilobytes of their own code and a 5 megabyte library. If they statically absorb the library, they all become 5.5 megabyte binaries.

Adjust that to whatever sizes you would consider relevant.

You can make it clear when a bug is fixed in a library or one of the executables. If you have a patch update, users can see that only a shared library changed or only a certain executable.

When hunting a bug, you may have certain possibilities (within limits that depend on your library API maintenance), like trying an older executable with the same library, or older library with the same executable.

Re:Suckless.org: software that sucks less by vlovich123 on Sunday February 23, 2025 @12:32PM (#43151183)
Bundle the executables into a single larger mega-executable with symlinks as the “true” entrypoint name.