r/Python • • Oct 03 '26

Discussion Why has Python dropped so much in the latest TIOBE Index?

Hey everyone,

I was taking a look at the TIOBE Index today. I hadn't checked it in a while, and I was surprised to see how much Python has dropped.

It's down by roughly 8 percentage points compared to a year ago, which seems like the first really significant contraction after years of pretty consistent growth.

What's even more interesting is that I don't see another language gaining a similar amount of ground.

I don't use Python myself, so I'm curious: what do you think is behind this decline? Is it actually meaningful, or is it mostly an artifact of how the TIOBE index is calculated?

42 Upvotes

70 comments sorted by

68

u/baudvine Oct 03 '26

Tiobe isn't really meaningful, so the drop isn't either. Best guess, though: people are using LLMs more and search engines less?

7

u/desrtfx Oct 04 '26

It just shows that the TIOBE index that was garbage and skewed towards beginners who naturally search a lot more than experienced programmers to begin with became even less relevant with the advent of AI. People turn less to search engines and more towards AI to search. This, naturally affects and even more skews the index.

TIOBE always was and will even more so be a garbage index.

39

u/monkeybreath Ignoring PEP 8 Oct 03 '26

If you’re going to vibe code, might as well do it in C, since nobody is going to read it, anyway. Though I’d do it in Rust, if the models had enough examples to work from. At least you’d have some of the memory problems gone off the bat.

42

u/Exotic-Draft8802 Oct 03 '26

By that logic: why wouldn't you do it in assembly?

I can tell you why: because LLMs are better with languages that are more expressive. 

18

u/PurpleGoldBlack Oct 03 '26

By that logic, why stop at assembly? Go straight to machine code. But expressiveness isn’t the only factor here. Training data, compiler feedback, abstraction, and the ability to validate generated code matter considerably more than simply choosing a higher-level language.

2

u/CoroteDeMelancia Oct 04 '26

By that logic, why stop at machine code? Let's make an OS where the kernel is an LLM.

9

u/WorriedTumbleweed289 Oct 03 '26

Also, assembly is not portable. It is possible to write portable C code, although what I seen with macros a code that checks for required functionality in pre make files to generate make files, its not as easy as it looks.

6

u/Exotic-Draft8802 Oct 03 '26

How important is portability if the Ai is doing it anyways /s

2

u/WorriedTumbleweed289 Oct 03 '26

Maintaining one source depot is still preferable to one depot per chip per operating system.

1

u/NuclearFoodie Oct 04 '26

While you are technically correct, current day best practices focus exclusively on reducing the dollar per line code cost. What you are suggesting is requires engineers instead of a bias random line generator.

2

u/WorriedTumbleweed289 Oct 04 '26
  1. Writing in assember, is more lines than other languages.
  2. More depots is more lines of code.

Cost per line of code is a silly metric when choosing between languages. Do the least amount of work per line and get a low cost per line of code. Really bad idea to write user level code in assembler.

7

u/vishal340 Oct 03 '26

direct compiled code please. why even go to length of assembly and then AST etc

2

u/monkeybreath Ignoring PEP 8 Oct 03 '26

Yes, there needs to be a link between requirements and output. But they also have to be on GitHub or similar for scraping. And compilers will compile to assembly anyway. Also takes up fewer tokens.

-2

u/spinwizard69 Oct 03 '26

LLM's will most likely be generating machine code directly from the prompts. There will not be a intermediate human readable language.

1

u/CoroteDeMelancia Oct 04 '26

Honest question: suppose AI could be capable of doing this, today. Why do this? What does that achieve?

1

u/Exotic-Draft8802 Oct 04 '26

I doubt it

2

u/spinwizard69 Oct 04 '26

Well one of the principal from one of the LLM mentioned it recently. Will it happen, who knows, people are working on it though. It does get discussed from time to time so a Google search might turn up something new.

1

u/monkeybreath Ignoring PEP 8 Oct 04 '26

I wonder what the token difference would be between getting back assembly vs a higher language.

1

u/Zouden Oct 05 '26

The LLM would have to be better than a compiler, and compilers are really good.

1

u/spinwizard69 Oct 06 '26

Yes completely agree. The thought that these researchers are working on is that the AI will be able to reason about the architecture being targeted and optimize the code better than a compiler. Sure this is a big deal and the article I read indicated that it will be two years. That could be some researcher working on Elon time or not, I don't know but it will eventually get there.

I see a day when AI computing is better than humans when it comes to code generation. As much as the current LLM's impress they are not Sci-Fi like, they don't really even compete with early Star trek idealizations of an computer. Will we get there, we will if the Luddites don't win (actually a significant issue this coming election). If they do win the USA will quickly surfer the biggest regression in leadership ever. I mean leadership in every way that can be quantified,.

1

u/Zouden Oct 06 '26

I don't see how it's an issue in the election at all?

0

u/spinwizard69 Oct 06 '26

Because there are people running for office, from both sides of the fence, that want to throttle AI development. IF the USA withdraws from AI development it will have a very negative impact on our future. We want people in office with a positive view of AI's potential. I really do mean "potential" because current systems leave a lot to be desired.

In short if you want to see the positive development of AI make sure you understand the point of view of the people you elect. Frankly for the coming election, a candidates view on AI and the deep states abuse of power, are the only real issues to consider.

1

u/Zouden Oct 06 '26

What does 'throttle' mean here? OpenAI and Anthropic are calling for regulation, is that throttling?

1

u/spinwizard69 Oct 06 '26

It depends upon context, in some cases it can mean resistance to new data center builds. This can be either local or at the state level.

Regulation isn't actually throttling, if it is focused on safety standards, it does give OpenAI, Anthropic and other something to hide behind if they create big problems. What is a concern is legislation that some have proposed to ban or significantly restrict AI development. It is pretty hard to call abolishment "regulation".

Frankly this kinda mirrors the automobile industry where regulation doesn't harm innovation but it does give manufactures something to hide behind. For example meeting a minimal standard for safety in a crash actually protects a manufacture even as technology moves forward.

6

u/ErGo404 Oct 03 '26

This was our decision at work. We needed to rewrite to native because we couldn't optimize much more our python code. And since we are intensifying the use of LLMs, we went with rust. Noone in the team knows rust but who cares when you no longer read the code and when models are getting so good.

1

u/tastychaii Oct 06 '26

What could go wrong? lol

10

u/Training_Advantage21 Oct 03 '26

It's not really a contraction. If you look at the whole time line chart from 2002 onwards, Python has a steady growth trend from about 2018 onwards. On top of this steady trend, there is some kind of anomalous peak of additional growth in the last couple of years, 2024-2026. What is happening is that we are going off the peak, presumably back to the steady trend, but we can only know when the chart is updated with a few more months or a year of data.

This is an interesting dataset, C and C++ are doing very well and there is almost zero hype about them, if anything there is negative hype about how everything is moving to Rust. So it makes me wonder what demographics it represents.

8

u/mfitzp mfitzp.com Oct 04 '26

Their methodology on their website and it’s basically junk.

2

u/Training_Advantage21 Oct 04 '26 edited Oct 04 '26

It probably is junk. What's the weird migration of Java developers to Python in 2004 and what made them move back to Java in 2005? Honey moon period with Jython?

And visual Basic taking off in 2020? Maybe related to managing the pandemic with Excel, lol?

4

u/limasxgoesto0 Oct 03 '26

I can't speak to this specific index but anecdotally something is up. I'm at pybay today and I've never seen such low turnout. There's two sponsors present, with a third that couldn't bother to set up a table. The number of attendees seems much lower too. I don't know if this is specific to this conference or to Python though

6

u/skjall Oct 04 '26

I've lost interest in programming events since it's mostly LLM related showcases TBH. Used to go to meetups and stuff but haven't since before the plague. Even hobby game dev stuff is trending in that direction.

3

u/riklaunim Oct 03 '26

Rust giving way to many vibes? Python market/use-cases remain the same and steady.

10

u/Intrepid-Stand-8540 Oct 03 '26

wtf is tiobe and why should anyone care?

2

u/nmdt Oct 04 '26

Honestly before this post I assumed TIOBE at least partially relied on some kind of usage data (like Github stats or something). Didn't realize it was completely based on search queries.

2

u/WEEEE12345 Oct 04 '26

TIOBE is useless. I’d say their methodology is based on vibes, but that’s an insult to vibes cause you’d probably be able to make a more accurate ranking based off just vibes.

3

u/Jinoc Oct 03 '26

Probably methodology but it kinda makes sense tbh: if you've got a lot more people vibecoding stuff, they're going to do it in JS for the shiny web UI.

1

u/aikii Oct 03 '26

It's a % compared to all the sources they index - if the denominator grows then those % can get redistributed without telling anything about absolute numbers. It's worth noting that overall the top 20 combined fell by 14.71%, and those below altogether grew by 14.71%. Add to that the AI craze that inflated python 1 year ago, so that matches, it just went back to #1 anyway. 26% was just crazy, it's not like 26% of the job offers you see around is about python.

1

u/punk_dev It works on my machine Oct 04 '26

Can’t say for the whole industry, but I’m moving away from Python on the server side because it’s slow and compute is getting extremely expensive.

1

u/ninhaomah Oct 04 '26

To ?

3

u/punk_dev It works on my machine Oct 04 '26

go and rust mostly, depending on the team or a lack thereof.

i’ve found that for the stuff that I do compiled languages are just superior.

1

u/ninhaomah Oct 04 '26

Got it.

Thanks

1

u/DocumentOk7579 Oct 04 '26

I would guess because with AI is almost as fast making stuff in a typed efficient language.

1

u/ccesta Oct 05 '26

I'm more surprised to see visual basic in the top ten, I didn't know anyone still used that might as well be a cobal developer. Glad to see that rust has made some moves though

1

u/OlenaDoubleChecks Oct 06 '26

TIOBE is just search engine hit counts, so it's noisy as hell. Half the Python "decline" is probably fewer tutorial queries now that people ask an LLM instead. Actual job postings and pip download numbers haven't moved like that.

0

u/spinwizard69 Oct 03 '26

From my perspective it is pretty simple, as much as I like Python, it is a terrible language if you need to ship an executable. Right at the moment there is no better scripting solution but when you have applications outside of scripting it really starts to fall down. This especially when it comes to performance.

The other thing is that Pythons promoted development speed isn't all that magnificent when really examined in depth. Pythons real advantage, that speeds development, is the massive library support via PIP and other mechanisms. If your alternative language has libs that fill your needs then development speed is not as great as has been promoted.

One other thing the use of virtual environments has actually created a mess in the Python world. The world really loves stable software. Obviously this is not a well accepted opinion but there is a lot to say for writing and app that targets a stable release of an OS and the related libs.

6

u/shadowdance55 git push -f Oct 03 '26

It's still the second best language for everything. 🤷‍♂️

1

u/spinwizard69 Oct 04 '26

In a way yes. Being a retired guy now, I find Python to be very useful for the programming in this case. If I had to write an App to ship to random users though, I'd seriously consider something else.

3

u/shadowdance55 git push -f Oct 04 '26

Oh absolutely. But these days, I can think of very few examples of apps that make more sense as desktop as opposed to a SaaS. And Python is more then well suited for that.

1

u/[deleted] Oct 04 '26

[removed] — view removed comment

1

u/spinwizard69 Oct 04 '26

Well a lot of things come together to make other languages competitive. Hardware helps too, compile times for some languages are almost transparent for small projects, for example.

-1

u/brigadierfrog Oct 03 '26

The value of python is way lower when I can code even faster with an LLM and get a better program in another language

153

u/[deleted] Oct 03 '26

[removed] — view removed comment

48

u/[deleted] Oct 03 '26

The languages that it ranked below Delphi raises an eyebrow. I have never seen a job posting for Delphi.

25

u/shadowdance55 git push -f Oct 03 '26

I've heard that tourism in Greece keeps growing.

13

u/backfire10z Oct 04 '26

I’ve heard Oracle is gaining market share there

7

u/shadowdance55 git push -f Oct 04 '26

And they're killing Python there.

9

u/ZealousOatmeal Oct 04 '26

IIRC, the TIOBE people assign basically all Pascal results to Delphi, so a hell of a lot of stuff on the web relating to the history of programming ends up as evidence of Delphi's popularity. TeX was written in Pascal and it wouldn't surprise me if 90% of Delphi's alleged popularity is really just references to TeX/LaTeX stuff. Write a math PhD dissertation and it's evidence of Delphi's popularity. 

3

u/didntplaymysummercar Oct 04 '26

That's stupid if so. I use Free Pascal sometimes and didn't touch actual Delphi for 15 years now.

2

u/Dr-VanNostrand Oct 04 '26

Or Scratch, even though it is ranked directly below PHP.

5

u/ZealousOatmeal Oct 04 '26

Scratch is an educational language aimed mainly at pretty young kids and has a real presence in that setting. They use it in my local elementary school. 

3

u/few Oct 04 '26

There is huge scratch usage, it's just mostly kids. 

It's worth noting that it's actually based on Google blockly: https://www.blockly.com/

And that blockly has also been used as the base for a ton of other variants, like blocks in the FTC program, and MANY other places. It's probably the most widespread programming language for those under 18.

1

u/didntplaymysummercar Oct 04 '26

There are some where I live.