@uli In general it is the right idea, IMHO. Actors (eps. in Akka) do require a lot of boiler-plate to write. There’s always been a desire to support those “actor classes” as a first-class language concept. You can watch this nice presentation on the historical overview on how it was done in various languages in the past:
https://pwlconf.org/2017/heather-miller/