3 ms·
> My preferred solution is to give each actor multiple inboxes so that unrelated messages don't get conflated. This is definitely an option, and I wouldn't be
by YorickPeterse 8y ago
> My preferred solution is to give each actor multiple inboxes so that unrelated messages don't get conflated.
This is definitely an option, and I wouldn't be surprised if we eventually end up with something like this, though I'm not sure yet how the garbage collector would handle this.
- Zalastax 8y agoMailbox types for unordered interactions require manual management of mailboxes (new/free) but the type system guarantees that you can't free a mailbox with messages still in it. Garbage collection is probably possible but it seems difficult.