Live data from Hacker News

Flask 2.0.0 has been merged into master

github.com

1–10 of 55 posts

Re: Flask 2.0.0 has been merged into master

#6

I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/

I've moved most of my Flask projects to Express and NodeJS.

Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess.

The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier.

Express middleware is also just easier to write than Flask middleware.

Re: Flask 2.0.0 has been merged into master

#8
> Drop support for Python 2

Python 3 released on '08. Flask debuted a couple of years later in 2010, on Python 2. 11.5 years later Python 2 is nearly in the rearview. The history of the Python 3 release is surely an impressive one.

On a more related note, props to devs/contributors for this release. My experience with Flask was pop-up projects and never mission critical, but i always found it a joy to use and quite intuitive.

Re: Flask 2.0.0 has been merged into master

#9
post #6

I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/

I've moved most of my Flask projects to Express and NodeJS. Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier. Express middleware is also just easier to w…

> Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess.

That makes me concerned. Does anyone here know if FastAPI is better? How many concurrent connections could your Express app handle at once?

Re: Flask 2.0.0 has been merged into master

#10

I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/

I've been working on an async project for a while using Sanic, and it's just crazy what a long shadow Flask has cast over the whole Python web framework ecosystem— there's just a default assumption that whatever you're doing, it needs to basically have the interface and ergonomics of Flask.
Post reply on HN