3 ms·
> Does anyone have any insight into why Python async doesn't work the same way? Ruby async seems to be implemented using stackful coroutines. IIRC Guido has be
by pansa2 5y ago
> Does anyone have any insight into why Python async doesn't work the same way?
Ruby async seems to be implemented using stackful coroutines. IIRC Guido has been opposed to adding these to core Python, preferring stack-less coroutines because they require every yield-point to be explicit (i.e. marked with `await`).
There are libraries for a python that support stackful coroutines, such as gevent.