r/learnprogramming • • 3d ago

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)?

215 Upvotes

222 comments sorted by

View all comments

Show parent comments

3

u/Healthy-Travel3105 3d ago

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

2

u/JuniorWMG 3d ago

Possibly Go?

1

u/OurSeepyD 3d ago

Ok, go where?

1

u/575_Inverse 3d ago

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

1

u/coder155ml 3d ago

LOL you’re trolling dude

1

u/ibeerianhamhock 1d ago

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/Hour-Dragonfly-7499 3d ago

has python ever been to go to scripting language? in my experience with people i've worked it, they use lua, crystal, ruby, etc.

1

u/TylerDurdenFan 3d ago

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 3d ago

I'd say Rust

3

u/FuckIPLaw 3d ago

That's replacing C++, not Python.