News for hackers. Stuff that matters.
Re:A Plea for Lean Software (1995) [pdf] by ChrisMarshallNY on Monday June 28, 2021 @10:35AM (#27662527)
As I mentioned above, if the module is expressed as a code extension, then it is, sort of, "free." It is compiled into the main code body.

But, for example, say we are talking about a communication module. One module may use a well-known library as a bundled dependency, and another module may use the same one. They may be smart enough to use dylibs, in which case, you have the potential for "DLL hell," or they may use static libs, in which case you have duplication of code, and maybe resource contention.

Re:A Plea for Lean Software (1995) [pdf] by Jtsummers on Monday June 28, 2021 @10:41AM (#27662602)
Ok, so it's a conflict of meaning.

I would not consider static libraries to be duplication of code. Duplication of assemblies or compilation unit, sure, but not code. The code itself has not been duplicated.

Re:A Plea for Lean Software (1995) [pdf] by ChrisMarshallNY on Monday June 28, 2021 @10:48AM (#27662698)
Fair 'nuff.