2 ms·
Async might be a wrong abstraction for high-level programming: green threads/goroutines are so much easier to use. On the other hand, writing a state machine f
by dmytrish 3y ago
Async might be a wrong abstraction for high-level programming: green threads/goroutines are so much easier to use.
On the other hand, writing a state machine for handling concurrent events/transitions is literally async done manually. libuv, any high-performance network server, UI events handling are all like that.
I agree that doing low-level async right is difficult and might be an impractically long process.