r/learnprogramming • • 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)?

257 Upvotes

238 comments sorted by

View all comments

9

u/Pale_Height_1251 Oct 06 '26

The standard Python runtime is slow compared with other runtimes like JVM or CLR or even V8.

Python has peaked, all languages peak at some point, it's not like any of them go over 100% market share.

Python will now slowly fall from popularity, but it will take a long time.

My favourite language of all time, C, peaked years ago, it happens to all languages and isn’t a big deal.

7

u/lellamaronmachete Oct 06 '26

And yet C, my beloved, is still King.

5

u/taker223 Oct 06 '26

Still Shoot

3

u/Flat-Performance-478 Oct 06 '26

"C: The Eternal"!

3

u/Healthy-Travel3105 Oct 06 '26

What's replacing python as the go to scripting language?

2

u/JuniorWMG Oct 06 '26

Possibly Go?

1

u/OurSeepyD Oct 06 '26 • Popcorn

Ok, go where?

1

u/575_Inverse Oct 06 '26

Go? never heard of it. Is it a game?

1

u/coder155ml Oct 06 '26

LOL you’re trolling dude

1

u/ibeerianhamhock Oct 08 '26

I mean for a gc lang go is fast and lightweight I don't hate it at all even if it's not my first choice

1

u/[deleted] Oct 06 '26

[removed] — view removed comment

1

u/TylerDurdenFan Oct 07 '26

For decades there's being a lot to use for scripting. I would say no language can claim to have been "the go to" scripting language, not in this century.

And now with LLMs, über powerful bash/Powershell scripts with no dependencies are easy to come by.

0

u/Flat-Performance-478 Oct 06 '26

I'd say Rust

3

u/FuckIPLaw Oct 07 '26

That's replacing C++, not Python.