logoalt Hacker News

vbezhenar • today at 11:55 AM • 2 replies • view on HN

UNIX had no threads originally. Processes are similar to actor model. You create pipe and you exchange bytes between processes.

Of course there are more ways to exchange data between processes, like explicitly allocating shared memory. But "idiomatic" way seems to me pretty much similar to actors.


Replies

signa11 • today at 12:03 PM

this is talking about the kernel not the userland.

monocasa • today at 12:00 PM

Yep, and poll(2) (or later select(2)) to coalesce all possible events into one logical event queue.