| ▲ | sznio 6 hours ago |
| 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. |
|
| ▲ | uecker 5 hours ago | parent | next [-] |
| It is an important feature to roll out security updates. |
|
| ▲ | kevin_thibedeau 5 hours ago | parent | prev | 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 5 hours 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 5 hours ago | parent | prev [-] | | > Important when RAM was over $1000/MB. So just like today then? (Tongue only partially in cheek.) |
|
|
| ▲ | pjmlp 5 hours ago | parent | prev [-] |
| And plugins, although one might argue multiple processes with OS IPC is more secure and stable, given the hardware resources. |
| |
| ▲ | cowlevel 2 hours ago | parent [-] | | RPC protocols just seem really inefficient. An in-process plugin architecture can share data synchronously in a few CPU instructions instead of asynchronously in tens of thousands. RPC architectures require both sides to duplicate state from the other side so they can query it efficiently while in-process architectures allow you to just call a get function. | | |
| ▲ | pjmlp an hour ago | parent [-] | | There are other ways to do OS IPC besides RPC, like memory segments. But yeah it comes with a cost versus plain dynamic linking. |
|
|