Alexej Haak

Results 16 comments of Alexej Haak

Actor's are no coroutines. Actor's are used for mutable state in concurrent / distributed applications. Futures are used for concurrent calculations (You can substitute Future.successful(n) with Future { n }...

@tuxychandru ``` Await.result(f) ``` is the counterpart to ``` var result = AsyncContext.Run(MyAsyncMethod); ``` while ``` var result = await MyAsyncMethod ``` is the counterpart to ``` f map {...

An actor is a container for State, Behavior, a Mailbox, Children and a Supervisor Strategy. All of this is encapsulated behind an Actor Reference. Finally, this happens When an Actor...

> Also if I understand correctly isn't the way Futures are used here the same as submitting tasks to an ExecutorService in Java? yes

since I still get stars from time to time for this project, and actually kinda still use it, I hope I can update the repo soon again.

This looks very cool! I will try to take a look at it in the future, atm I'm planning to create more features for the code generator and trying to...