4 ms·
async/await is syntactic sugar for futures/callbacks/statemachines in .net. kotlin does this for coroutines on the jvm. I think green threads are a much better
by ysleepy 3y ago
async/await is syntactic sugar for futures/callbacks/statemachines in .net. kotlin does this for coroutines on the jvm.
I think green threads are a much better was to solve the problem as its much easier to reason about and debug.