4 ms·
I've never seen Falcon, thanks. Flask is still one of the most approachable frameworks I've used. It's great for getting something hacked out really quickly, b
by wybiral 9y ago
I've never seen Falcon, thanks.
Flask is still one of the most approachable frameworks I've used. It's great for getting something hacked out really quickly, but for asynchronous requests Tornado is where it's at.
That being said, when I really want performance I usually reach for Golang.
- discordance 9y agoCheck out Sanic if you want an async python framework with a similar API to flask
- SmirkingRevenge 9y agoIts pretty hard to beat Tornado's api, IMHO. Its a really rich api for how simple and quick it is to learn. Flask is a definite downgrade to me, when it comes to the api. But Flask wins hands down on the richness of its ecosystem.
- BerislavLopac 9y agoMost of the "Flask ecosystem" are wrappers for some generic Python libraries which can easily be introduced to any other framework: SQLAlchemy for RDBMS abstraction and ORM, Jinja2 for templating, and so on.
- malloryerik 9y agoDo you find Golang to be that much harder to develop in, or is it that Python has libraries whose equivalents are missing in Golang? When would you actually choose one over the other?
- wybiral 9y agoPython is generally less to type. Go isn't hard, per se, but it is statically typed and tends to be a bit more verbose. For me: Python if there's a specific library I want to use, I'm just hacking out a proof of concept, or I'm working with text. Golang for higher performance, concurrency, stream processing, and cryptography (it has good libraries for that kind of stuff).