Remix.run Logo
▲ cowlevel 2 hours ago

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.