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

All software sucks (2007) (opens external site)

162 points by archargelod 8 hours ago harmful.cat-v.org 190 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

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