Akka production release is all about `Any`, as in it's untyped, and you have to pattern match on the receiver to the expected type.
That's a far cry from Akka Typed [1], the recently released experimental branch, which allows you to match on the "real" type; as a result distributed code is compile time checked...a dream scenario ;-)
Comments
Akka production release is all about `Any`, as in it's untyped, and you have to pattern match on the receiver to the expected type.
That's a far cry from Akka Typed [1], the recently released experimental branch, which allows you to match on the "real" type; as a result distributed code is compile time checked...a dream scenario ;-)
[1] http://doc.akka.io/docs/akka/snapshot/scala/typed.html
Yup, I've been using Akka Typed myself recently.
Having said that it doesn't change the fact that Akka preserves types in most arbitrary hierarchies today, across machine boundaries.