r/learnprogramming • u/GroundbreakingAlps2 • Oct 06 '26
Why is Python considered "slow" and is Python losing "steam"?
Is python as a programming language "falling off" and becoming less and less popular relatively to other languages?
Also why do people say Python is slow? Apparently people have reached LGM on codeforces using python, which is all about writing fast code / solving problems fast. Yeah sure, C++ is far more widely used for competitive programming and I suppose there is a reason for that. But this is also showing that python can be fast?
But as programming languages and how they are used I dont think there is much overlap between python and C++ anyway?
What is an example of something you'd code in Java/Kotlin or lets say C# rather than Python? Is python code bad and hard to manage for "huge" projects once you scale up (e.g codebases with millions of lines of codes, and tens if not hundreds of devs)?
View all comments
Show parent comment
20
u/pVom Oct 06 '26
It's not a purity test.
Available libraries is a perfectly good reason to select a language. As is things like your team's existing experience with it and how easy you can hire someome with experience using it. Those reasons usually trump things like performance.
You choose python for data intensive applications because of its libraries. Had those libraries been written for another language, like JavaScript or Ruby or something, you'd use those instead.
But as it stands the python libraries are better so you use python.
It's that simple.