4 ms·
> It would be interesting to see a IPC system that abstracted away where the other process was running or treated processes running on an entirely different mac
by badosu 9y ago
> It would be interesting to see a IPC system that abstracted away where the other process was running or treated processes running on an entirely different machine or VM as another local process.
Erlang processes do this if I'm not mistaken.
- mml 9y agoErlang does do this. In fact, it dawned on me that OTP is basically a system for writing "micro services" inside the app itself, complete w/ monitoring, queues (mailboxes) & supervision. Developers are forced to export public module functions to provide a smooth api for other services (processes, in the same runtime, or distributed). Thankfully, Erlang provides the protocols and so on, instead of requiring some nasty hand-crafted json weirdness over http.