4 ms·
> This can be said of most actor systems. True, but other languages/platforms have better built-in support for immutable data structures and don't force you to
by RussianCow 4y ago
> This can be said of most actor systems.
True, but other languages/platforms have better built-in support for immutable data structures and don't force you to fight the standard library to implement a share-nothing approach.
- t-writescode 4y agoYou get there pretty fast in Ruby with DryStruct; and, Ruby has .freeze, which can also be helpful.
- RussianCow 4y agoBut you can't use any libraries that maintain mutable state, which, in Ruby land, is many of them.
- t-writescode 4y agoA common actor strategy for that is to have a dedicated actor for communicating with that mutable state