3 ms·
There are also the various static checks that prevent you from accessing actor-isolated state outside the actor, or passing non-Sendable state across actor boun
by slavapestov 6y ago
There are also the various static checks that prevent you from accessing actor-isolated state outside the actor, or passing non-Sendable state across actor boundaries. It's not clear how a general language extension mechanism could implement those.
- nine_k 6y agoI wonder if Rust can do that, by using data lifetimes incompatible between actors, thus protecting them from being passed around beside sending. I also don't see why a namespace, like that of a function, won't be enough isolation from peeking between actors. Somehow Scala got Akka, the actor framework, without having to tailor the language for that.