4 ms·
I'd rather progA and progB package their own local versions of thelib.so unless they explicitly request to use a shared version globally. Shared libraries actu
by duped 5y ago
I'd rather progA and progB package their own local versions of thelib.so unless they explicitly request to use a shared version globally.
Shared libraries actually being shared is the exception and not the rule
- bern4444 5y agoThis is very similar to how npm works. Each installed package has its own dependencies installed that are kept separate from other packages even if another package has the same dependency. For all the hate of npm and node_modules it’s wonderful to have this isolation
- Fnoord 5y agoPython also has virtualenv, so what though? Like Docker, its a dependency nightmare, and a waste of space. Nix also wastes space, but it allows you to run separate versions of libraries and programs universally on the OS, and it allows you to rollback, plus it can be easily removed with a command (man nix-collect-garbage).