Unofficial Hacker News companion — get notified on comment replies, and more.

All software sucks (2007) (opens external site)

171 points by archargelod 10 hours ago harmful.cat-v.org 204 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (9)

  1. 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.

    Replies (3)
    1. It is an important feature to roll out security updates.
      Replies (1)
      1. The future of computing is offline (or local trusted intranets)
    2. And plugins, although one might argue multiple processes with OS IPC is more secure and stable, given the hardware resources.
      Replies (1)
      1. 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.
        Replies (1)
        1. There are other ways to do OS IPC besides RPC, like memory segments.

          But yeah it comes with a cost versus plain dynamic linking.

    3. 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.
      Replies (2)
      1. The good news is we're trending back toward $1000/MB RAM. Maybe it's time for a dynamic linking comeback!
      2. > Important when RAM was over $1000/MB.

        So just like today then? (Tongue only partially in cheek.)