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

All software sucks (2007) (opens external site)

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

View full thread · View on Hacker News

Comment thread (2)

  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.