3 ms·
I thought of an answer in 2 words reading the title, namely: Shared state. Actor model is indeed a nice way to prevent shared state. So are "The Elm Architect
by cies 3y ago
I thought of an answer in 2 words reading the title, namely:
Shared state.
Actor model is indeed a nice way to prevent shared state. So are "The Elm Architecture" and state-less web server on top of a db.
I have a hunch "Communicating Sequential Processes" and "Shared state" are somehow describing the same thing in different words (or from a different perspective).
- 01HNNWZ0MV43FF 3y agoThey're supposed to be opposed. "Communicate by sharing" vs "share by communicating". Communicating has nicer ownership rules, but not all runtimes make it easy to e.g. communicate raw video frames to a compositor But yeah in the end it's all Turing machines and you can emulate anything with anything else
- kaba0 3y agoThe actor model is still prone to many forms of race conditions, among others, live and dead locks.