News for hackers. Stuff that matters.
Re:12 requests per second: A realistic look at Python web fr... by adsharma on Friday February 19, 2021 @11:22PM (#26201567)
It would be cool to teach the python static type checkers such as pyright and mypy to do the same validation as pydantic, marshmallow.

Then you could use dataclasses and map them to the database via sqlalchemy.

https://github.com/adsharma/dataclasses-sql

Couple of other techniques to speedup python:

* Transpile python to another language (py2many) * Compile a large graphql like query to a single query plan in python which can be accelerated. (Fquery)

Both projects on my github.

There are no comments on this comment yet.