Decomplecting actors

How would Rich Hickey decomplect the actor model? I’m thinking:

  • Messages: immutable values
  • Queues: actor inboxs (and outboxes) become queues (see Queues decouple producer from consumer)
  • State: state is stored by ID in a KV store (see Decomplecting means using IDs)
  • Router: a name system that routes messages to named queues
  • Actor logic: becomes a pure function (behavior) that returns the next state and effects
  • Effect runner: performs side-effects
  • Actor system: ties all of these slices together

Related