Sick of "many dependencies" framing
Sick of "many dependencies" framing
Posted Feb 11, 2026 13:18 UTC (Wed) by Wol (subscriber, #4433)In reply to: Sick of "many dependencies" framing by farnz
Parent article: FOSS in times of war, scarcity, and AI
Okay, it's not true of all static linking, but the linker I used many moons ago, you would link the library, and it would search the library for modules that the (partially) linked program needed, and pull in JUST those modules. It had the downside that you might need to link the same library two or three times, if the modules you pulled in linked to further modules in the same library, but it had the upside that if you only wanted a couple of modules from the library, you only GOT a couple of modules.
And by seeing which modules were linked, you knew which modules to vet and which ones to ignore.
That's the other problem with "thousands of LOC" dependencies - do you even depend on them? Would you be better off without them? Does your project even call them?
Cheers,
Wol
