4 ms·
How so? The same API is trivial to implement using threads and futures. A future, after all, is just a one shot channel or rendezvous point. Async is just a wa
by ori_b 7y ago
How so? The same API is trivial to implement using threads and futures. A future, after all, is just a one shot channel or rendezvous point.
Async is just a way to get cooperative threads compiled to a static state machine, trading lower concurrent utilization and throughput for less context switch overhead and lower latency.