A nice explainer of what Actor model is. It's pretty much what CSP (Communicating Sequential Processes) is all about. No shared memory, everything is isolated. #moxie language uses this as a core architectural principle right down to the ground. it uses Thread Local Storage (the other TLS) so each single thread of processing has its own memory, and communicates with pairs of ring buffers with other threads, which spawn as a tree using the "spawn" builtin operator, which creates handling so that when you send or receive on channels passed to it, they are intercepted and forwarded over the buffers to the other thread. the exact same design principle can also be used to create distributed applications with heteregenous (not peer) distributed systems (some overlap with "microservices").
https://docs.ergo.services/basics/actor-model
31โค๏ธ1๐งก1