News for hackers. Stuff that matters.
Re:ASGI from scratch – Let's build an ASGI web framework by ericls on Thursday June 25, 2020 @04:39PM (#23645422)
Hi, YarickR2. I think if the whole application does not require interacting with other asyncio stuff then it's fine to stick to WSGI.

I like ASGI because it allows us to do some things (including websocket, asynchronous io, etc) much easier. And even it is not compatible with WSGI, it's not hard to wrap around a WSGI application.

The framework built in the post is far from finished or practical, please take a look at Starlette, FastAPI or even Django, etc to know more about the use cases of ASGI.

Re:ASGI from scratch – Let's build an ASGI web framework by Drdrdrq on Friday June 26, 2020 @02:16AM (#23649217)
FastAPI is awesome. The way it joins data types with input validation and automatic reference docs generation is just great. Not to mention that their own docs are pretty comprehensive.

(not affiliated, just a happy user)