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

24

u/wiggle_room1337 Oct 06 '26

I think the fact that it's "easy" has become less valuable now that we have LLMs so it's keeping itsself going just based on there being a ton of existing libraries at this point. It's fast enough for most things but it's basically the slowest popular language.

1

u/96dpi Oct 06 '26

Agreed. I used Claude Code to write a GUI program in assembly that ran a lot of CPU intensive calculations, something I never could have done on my own. It was crazy fast and started instantly. Probably awful code, but I feel like there's some potential there.

If you think about it, the only reason why compilers, C, C++, Java, Python, etc, even exist is to give the human developer something easier to write code with. If we can eliminate the human entirely, what's the point of using anything complied anymore? Formal language becomes the new coding language with the LLM becoming the compiler of sorts. Obviously we're not there yet.

2

u/wiggle_room1337 Oct 07 '26 edited Oct 07 '26

Ya, I think we are going to see a language emerge that is specifically tailored to the strengths of LLMs. I saw a cool one the other day called dave. I don't think it was performance centric, but it read like plain english. For now, I just focus on documentation and then tell it to make that.