Why Is Python Slow?
This post is largely based on this video which I highly highly recommend from Pycon 2020. If you don’t want to watch the whole video, here is the most important points.
Nevertheless Python is a very popular language. I think the main reason for this is the libraries. It has a wealth of libraries for every field, including Networking, ML etc. However, if you would like to write an app that can scale to millions of users, I think you should use something like GO. In GO one server can handle 1 million websockets. There is a video on youtube about that. It is not a accident that the GO language is very popular in China, since China has almost a billion of people, and the apps need to be scalable.