Python is the best language in the world.
I don't care if it's slow because most of what I do doesn't need to be faster than what I get. But I know some of you truly care about speed, so here is a good tip:
Check out "Perforator", an open-source tool to help you profile your code and find everything you are doing wrong.
Try this on your codebase, and you'll realize that the language has nothing to do with your application being slow. 99% of the time is something you did, not the language's fault.
The thing about Perforator:
After you run it, you can make your code *significantly* cheaper and faster to run. It will find problems you didn't know existed.
I'm not smart enough to explain how the profiler works, but I know you'll stop complaining about Python as soon as you run this on your codebase.
72
215
1,884
223,652
Bro, I feel you.
I once tried building my backend in TypeScript for a unified stack with the frontend, but eventually I came back to Python—and what a relief that was!
Python code is just cleaner, simpler, and so much easier to grasp.
Plus, during my experiments with Node, I realized that many of the powerful libraries available in Python are either missing or way too convoluted in TypeScript.
And honestly, who cares if Python is “slow” when the heavy lifting is handled by C++ under the hood?
Embrace Python—it gets the job done without all the extra complexity.
Feb 13, 2025 · 3:32 PM UTC
2
709


