We're building out an async ecosystem here that makes it way more performance-competitive with Node and Go.
For a lot of folks it's going to hit a sweet spot of developer productivity plus ability to scale up hugely. That's a big deal.
Doesn't mean you have to use it, but there's no need to neg on the great work folks are doing in this space just because Python's not your preferred language of choice.
And maybe the dependency injection system.
And Python's ecosystem with lots of packages.
And that Python is the best/main way to do Machine Learning/Deep Learning.
I personally don't think new asyncio (Python 3.6) is more difficult, but that's more personal taste.
Indeed, FastAPI inherited benefits from ideas in Go and other languages and frameworks.
Golang has libraries for all of the things you mentioned, and web tools to generate APIs based on those schemas. There's no advantage here over Go.
> And maybe the dependency injection system.
Go has interfaces, which facilitates easy DI. No advantage there, and Go sells itself on not having a magic DI framework like the crap Angular 1 had.
> And Python's ecosystem with lots of packages.
Python's ecosystem may have more packages taken as a whole, but Go has a richer web and infrastructure community thanks to being a web first language and growing out of the DevOps community.
> And that Python is the best/main way to do Machine Learning/Deep Learning.
Which means nothing. You shouldn't be running ML in your web server. You use grpc or http to make requests to your ML backend, or generate a config for the web server to consume.
> I personally don't think new asyncio (Python 3.6) is more difficult, but that's more personal taste.
Even if it isn't more difficult, functions have to be colored async which leads to ecosystem fragmentation. It's a huge pita.
Have you considered that maybe not every one wants have anything to do with the 8th wonder of the world that is Go?
Take it easy pal, let people enjoy things.
Would you cite some? I would love to see the links, packages, etc. And how could you achieve the same in Go:
Having a single type declaration, get web data validation, serialization, documentation with OpenAPI and automatic clear error responses.
I would love to see it, because before building FastAPI I looked for it in Go-land a lot too, and didn't find it, not even closer to the tools that already existed in Python.
Not only that, but Go has best in class editing support in VSCode and Vim, has an official code formatting tool (sorry black), and makes writing concurrent code painless with a syncronous abstraction (sorry asyncio).
Also it may have good response times in a vacuum but there’s still the Python memory tax, startup times (which matter when you need to scale horizontally), and scaling of latency to think about.