Replies: 1 comment
-
The "nogil" fork doesn't change or improve asyncio. It might be possible to do something involving thread pools, but I'm not sure.
I think lightweight processes/"green threads" is a compelling idea. The "nogil" fork is potentially a step in that direction, but there still would be a large amount of work necessary to implement lightweight processes efficiently and I'm not currently working on that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I was wondering if there is a chance to improve asyncio alongside nogil or maybe nogil already improves asyncio? (like threadpool offloading or sth?)
I was also wondering if now one could do something like lightweight processes inside Python with scheduler - similar to Erlang ?
I am really not sure if this question makes sense.
I am sorry if this is confusing or I said something wrong, I might not understand nogil correctly, or even how Python internally works.
Beta Was this translation helpful? Give feedback.
All reactions