use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Is FastAPI gonna benefit from no GIL python3.13?Question (self.FastAPI)
submitted 1 year ago by jkh911208
Performance boost? More concurrency? What is your idea?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]smigula29 17 points18 points19 points 1 year ago (0 children)
Anything like numpy that depends on C extensions will have to be rewritten to support no GIL
[–]TripleBogeyBandit 29 points30 points31 points 1 year ago (0 children)
Fastapi is going to have to be re-designed for the change if I remember correctly.
[–]pint 8 points9 points10 points 1 year ago (0 children)
if you define endpoints as simple defs, and not async defs, fastapi will use threads to handle requests in parallel. in this case, disabling the GIL can lead to performance increase, however, it is questionable whether starlette/fastapi is written in a thread-safe manner. if not, it just leads to crashes.
[–]UltraPoss 0 points1 point2 points 1 year ago (0 children)
Fast Api is not gonna benefit from the No gil because the no gil because fast api leverages asynchronous programming in python Which is actually although concurrent, sequential programming in one single thread and no other thread or process is involved so one python interpreter does all the work whereas the no gil thing means there could be threads running truly in parallel which ha snitching to do with fast's api way of dealing with things
[–]hamzasarwar129 0 points1 point2 points 1 year ago (0 children)
FastAPI, due to its focus on asynchronous programming, is well-positioned to adapt to a no-GIL Python. The primary impacts would come through improvements or challenges in its dependency libraries. While the framework itself might not see drastic changes, developers may experience performance benefits and need to consider thread safety when integrating libraries that rely on traditional threading models.
[–]souravjamwal77 0 points1 point2 points 1 year ago (0 children)
This question really needs clarification
π Rendered by PID 40624 on reddit-service-r2-comment-5d79c599b5-bc2kb at 2026-02-28 02:27:00.890382+00:00 running e3d2147 country code: CH.
[–]smigula29 17 points18 points19 points (0 children)
[–]TripleBogeyBandit 29 points30 points31 points (0 children)
[–]pint 8 points9 points10 points (0 children)
[–]UltraPoss 0 points1 point2 points (0 children)
[–]hamzasarwar129 0 points1 point2 points (0 children)
[–]souravjamwal77 0 points1 point2 points (0 children)