logoalt Hacker News

ozgrakkurt • today at 2:12 PM • 3 replies • view on HN

Even the concept of linking only exists because of history at this point right?


Replies

sznio • today at 2:16 PM

No matter history it seems pretty useful to build a library just once and then use the built artifact multiple times, rather than compiling it over and over from scratch.

I do definitely agree for dynamic linking though. It was mostly a disk space saving measure. If one insists it could be a compatibility feature too.

➕ show 3 replies
RetroTechie • today at 2:50 PM

Isn't the point of dynamic linking to have each piece of functionality in 1 place? Broken -> fix library -> fixes issue for all apps using that library.

Sounds like a good idea in general. Memory savings are a welcome side-effect.

Static linking is simpler but does away with those advantages.

I suppose much hatred against DL isn't the concept itself, but specific implementations. Like, any which do the versioning / dependency management badly.

➕ show 1 reply