4 ms·
Question though: asyncio is implemented as threads, which is where the GIL chokes, right?
by evilturnip 4y ago
Question though: asyncio is implemented as threads, which is where the GIL chokes, right?
- L3viathan 4y agoasyncio is _not_ implemented as threads. It has features where it can wrap a sync function inside a thread in order to turn it into an async function, but if you just write "normal" async code, all your code is running in a single thread.
- evilturnip 4y agoAh, ok that makes more sense.
- deleted 4y ago[deleted]