|
|
|
|
|
by maxime_cb
1211 days ago
|
|
I was thinking something like actors, or independent processes sending messages would be nice. Just because it's very safe and predictable. Less error-prone than threads. The thing that kind of gets me is it seems difficult to have safe shared memory with actors? You ideally want to be able to share memory if you want things to be efficient, but if you have shared memory, then you get into issues with atomic writes and things being observed in different orders, etc. |
|
You might find Pony's ORCA interesting which is how they implement garbage collection between actors.
https://www.imperial.ac.uk/media/imperial-college/faculty-of...