3 ms·
You fell into the same trap that the author points out: Flask, FastAPI and Django are tools with different scopes for different purposes. If you want to compare
by okl 5y ago
You fell into the same trap that the author points out: Flask, FastAPI and Django are tools with different scopes for different purposes. If you want to compare FastAPI, compare it with Flask-RESTx or Django-REST, for example. If you want to compare Flask, compare it with Starlette, for example.
asyncio won't do much for you if your application is CPU-bound. (Admittedly, that's usually not the case with network services)
- bayesian_horse 5y agoI'm not pedantic enough to spell out that there are gazillions of ways to do REST in Flask. And Flask as a microframework for websites seems a lot less useful for me because I'd need to bolt on a lot of stuff to make it more useful.