Matt Massicotte on Nostr: This is a fantastic question! Pro: actors protect all their state! Con: all input and ...
This is a fantastic question!
Pro: actors protect all their state!
Con: all input and output to the actor must be Sendable *and* async too!
Those cons are huge. And you often don't need to protect state so granularly anyways. I often reach for actors last, and only when I have a clear idea of why I need it.
https://mastodon.social/@maxmelzer/112089570951772375
Pro: actors protect all their state!
Con: all input and output to the actor must be Sendable *and* async too!
Those cons are huge. And you often don't need to protect state so granularly anyways. I often reach for actors last, and only when I have a clear idea of why I need it.
https://mastodon.social/@maxmelzer/112089570951772375