Back from Kotlin to Scala. #37
Replies: 1 comment 1 reply
-
Thanks for the message and sorry for the late reply. [Usually, if something requires thinking, then it's delayed near forever ;). ] |
Beta Was this translation helpful? Give feedback.
-
Hi, congratulations for this super important project.
Back-end programming is absolutely about non-block IO and Kotlin nailed it with co-routines that can carry context with then and can be managed by a specific implementation if necessary.
I think that async/await is a construction on more generalized core concepts like CPS.
Async and non-block are different concepts, with co-routines/CPS I can make a lib to free the developer of the burden of think on concepts of computation all the time and focus on problem solving and when a parallel or asynchronous action makes sense, then use async/await appropriately.
I made one some time ago: https://github.com/wiltonlazary/cps_ppx
I'm looking forward to see Scala supporting CPS as a core concept to relief the burden of call an async function when on the reality the programmer only want a non-block action.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions