HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
evilturnip
on Nov 10, 2022
|
parent
|
context
|
favorite
| on:
Python Asyncio
Question though: asyncio is implemented as threads, which is where the GIL chokes, right?
L3viathan
on Nov 10, 2022
[–]
asyncio 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
on Nov 10, 2022
|
parent
[–]
Ah, ok that makes more sense.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: