Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At a glance:

Sending a message is simply a function call. Whereas in Akka it's the ask pattern where you have to manually reify the function call parameters into a case class.

If you want to wait in processing a message in Akka, you either have to juggle the message queue with stashing or block a thread. In Orbit it is a `suspend` fun.



It's an interesting idea; not having to stash messages in the actor implementation when doing an async call. I did a little experiment what that could look like using Akka and kotlin suspend functions https://github.com/joost-de-vries/akka-kotlin




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: