| ▲ | ozgrakkurt an hour ago |
| Even the concept of linking only exists because of history at this point right? |
|
| ▲ | sznio an hour ago | parent | next [-] |
| 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. |
| |
| ▲ | kevin_thibedeau an hour ago | parent | next [-] | | It was a RAM saving measure since everyone on multiuser unix systems could share text and rodata segments. Important when RAM was over $1000/MB. | | |
| ▲ | mjr00 44 minutes ago | parent | next [-] | | The good news is we're trending back toward $1000/MB RAM. Maybe it's time for a dynamic linking comeback! | |
| ▲ | fooqux 43 minutes ago | parent | prev [-] | | > Important when RAM was over $1000/MB. So just like today then? (Tongue only partially in cheek.) |
| |
| ▲ | uecker an hour ago | parent | prev | next [-] | | It is an important feature to roll out security updates. | |
| ▲ | pjmlp an hour ago | parent | prev [-] | | And plugins, although one might argue multiple processes with OS IPC is more secure and stable, given the hardware resources. |
|
|
| ▲ | RetroTechie an hour ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | jayd16 32 minutes ago | parent [-] | | But in practice you end up with users using untested configurations of software, subtle, minor-version DLL changes end up causing issues. You can't just strip and inline the parts of the lib you need. You still probably need to pack in the DLLs you want in case the end users might not have a way to easily procure them elsewhere. Its a big ol' mess... |
|
|
| ▲ | an hour ago | parent | prev [-] |
| [deleted] |