Seen about a million articles like this over the last 15 years. They used to complain about the GIL until that went away, but the level to which people cared about even that was massively overstated.
"X is dead" articles are played out. Lame clickbait that advertises the lack of thoughtfulness inside the article.
Would love to understand why you think the points in the post are invalid. Python is both more resource intensive (requiring more infra spend) and lacking in static types (requiring more "discovery tokens").
In a world where humans are no longer writing code, then languages and runtimes with tradeoffs but built for human convenience are going to make teams re-evaluate the tradeoffs (performance, cost).
Python was never a language that was built and optimized for high concurrency backend servers. It will continue to thrive in its niche, but building net new backends in Python seems like it would be a mistake at this juncture.
You are overestimating how much AI will impact this. As you said, Python was never optimized for this use case - and yet it thrived not in its niche, but the most successful cases. It was always a tradeoff, and AI is not really that significant in its context.
Because writing code was not the main bottleneck for successful companies.
You're right that writing code isn't the main bottleneck, but Anthropic's 70% efficiency gain on compute is the difference between 1000 nodes and 3333 nodes. Python becomes an operational tax even, considering 10 nodes vs 33, that is paid in perpetuity.
But it was always the case - and in fact 70% figure doesn't sound that impressive in context of Python to Rust/C replacement. But put this into perspective of how much compute Anthropic actually uses. This is probably smaller relative difference than difference on Windows when you reboot after random update.
Noticable on any kind of budget of course. But far from putting a language in the "dead" category.
Yes, but in the past the Python tax was justified by the code being easier to write for humans, which translated into higher velocity, easier hiring and onboarding, etc. In this brave new future we're being sold where humans don't write, or more importantly, read code and at best are relegated to writing specs and co-writing tests and other infrastructure verifying that the end product follows said specs, there's nothing to justify the performance penalty, is there? Especially if Rust turns out to be easier for models to write due to more compiler handholding.
I disagree imo. I have to audit way less in a statically typed language compared to Python because so much of the information is on my screen in text rather than only visible during execution of the program
It's way more difficult to review python and actually have confidence it's correct
If you're fully vibe coding and no human is going to read or understand the code maybe just start every project by showing the agent the plan and letting it pick the language then, why are you interfering with its choices at all?
Okay but then all the scaling talk seems like a distraction things are good for models along many axes like how much code is in their training data or available for reference; how many libraries exist so I don't have to reimplement things which is now a direct cost; how fast the compilation cycle is allowing my agent to iterate as quickly as possible instead of waiting on compile times; how terse the code is saving me tokens; and so on.
If anything scaling is only going to become less important over time since the median number of users of any software can only decrease as people gain the ability to vibe their own custom versions of all this software that does exactly what they want.
I'm not saying that Python on the backend will never go away, just that calling it dead now is premature. A programming language is not self-contained, it exists in an ecosystem.
There's no way I would trust an AI to develop a website framework from scratch in Go or Rust. I would trust it to leverage Django, Rails or Laravel for that purpose. Until Rust has the library ecosystem that Python has, there will still be a place for it, for now.
My stance has always been that if django/python ever becomes the bottleneck then the app has succeeded beyond our wildest dreams. At that point surely the revenue/investment/funding will be great enough to pay for more hardware and a potential rewrite.
The Google-scale fallacy: Engineering a service to cope with 100000 requests/second when all that's needed is a system that's able to handle 10000 requests/day.
Most static websites are limited only by the infra's ability to handle requests/s because every virtually every request is a cahce hit, and at that point the only limiting factor is your ability to get the HTML out the cache and to the wire.
But that's not engineering things to be "google scale", that's a succession or common sense decisions empowering each-other.
It happens the other way too, where performance is completely ignored until someone notices that it's become a problem.
That said, language choice still doesn't matter most of the time for backend development and problems will come from bad architecture and/or bad DB usage first.
A Rust microservice written by idiots will choke on IO just the same.
While a request is waiting on I/O, it is consuming resources (port, memory). Especially if the I/O is long window, it simply puts more resource pressure on the server.
The crux of the problem is that Python is not a particularly efficient language and runtime to operate at scale.
Anthropic states it directly in the opening of their research blog post Migrating our Messages API to Rust
From early 2024 to fall 2026, API traffic grew roughly 1,800 times. Rust would allow us to use far less CPU per request.
It’s damning; teams building for production backend systems that are going to handle high volumes will pay not only a significant overhead on the infrastructure capacity, but also deliver poor performance at high throughput. Suggesting Python for building production backends for any greenfield projects in 2027 will be seen as a mistake through hindsight and, I suspect, lead to more rewrites.
This argument makes a very common mistake that means it's ridiculously out of touch.
Very few developers will ever work on a system that explodes 1,800x. The vast majority of developers do not work at one of the most valuable companies in the world. The vast majority of developers work on small teams in small businesses with small traffic. Extrapolating from what Anthropic needs to do to manage ridiculously high growth and applying that to the rest of the world that absolutely does not need to do anything like this is ridiculous.
Future of code may not be human written, but still needs to be human maintained, reviewed and understood. If you want to move tu Rust despite having no developers experienced in Rust because “AI will write the code” you are in for a nasty surprise!
Reminds me back in my last work when “relational databases are dead” era was on. Despite having a team of 10 Postgres developers in the company this team of Java developers decided to create a new product with different NoSQL storage despite non of them having any experience with it. 3 months into production they had a massive incident which resulting in finding a very expensive outside company that actually knew the NoSQL technology they were using and came fast to fix their mess. Turns out the maintainers actually need to understand the techstack they are using…
With AI tools and agents producing larger volumes of code and features than ever, it only makes sense that reliability is more critical. And… that is where typed languages win the debate. Not because untyped languages are “bad,” but because types catch the exact class of surprises that AI-generated code can sometimes introduce.
My experience has been that this is an article of faith that is in practice completely false. LLMs are very happy to type all your Python code for one thing. For another thing, the only thing I've been hearing all the time for the last 20 years of type system weenies yelling about Haskell/Rust &c is that they eliminate the need to test for a bunch of shit ("a whole class of errors"). But tests are just code and code is now worthless and free and I have an infinitely patient assistant to get me to 100% coverage or whatever I want while I take a nap. Yes they take time to run but it's not like Rust compilation is fast, and the agent can interpret a Python runtime stack trace generated in testing just as easily as compiler output in my experience.
Types do not eliminate the need to test; they offer another signal that is -- depending on the mechanism -- cheaper and earlier in the verification cycle.
But it's worth taking in both angles here: types + operational cost. Python loses in both. Now that we don't need humans to write code, optimizing for human code production is perhaps the wrong facet to optimize stack selection for.
Types are always sold as a way of not having to test for a bunch of stuff ("eliminating whole classes of problems"). Why do I care how many tests are needed to cover all the code if I'm not writing, reading or executing them? Why do I care if the agent takes a compiler error or a stack trace as its feedback mechanism while writing the code? Why do I care where in the verification cycle anything happens when I'm not looking at it until it's done? All of those seem to me just as much relics of optimizing for human code production.
57
u/MoreRespectForQA 1d ago edited 1d ago
Seen about a million articles like this over the last 15 years. They used to complain about the GIL until that went away, but the level to which people cared about even that was massively overstated.
"X is dead" articles are played out. Lame clickbait that advertises the lack of thoughtfulness inside the article.
19
u/damagednoob 1d ago
In other news, "No, it isn't"
Python's philosophy has always been, if you need the speed, drop to C. It's just that Rust is a better C.
14
u/ConnaitLesRisques 1d ago
Sure, it’s dead for people who want to larp having big boi scalability problems.
Looking forward to seeing the same people who deployed balls-out Kubernetes for their shitty internal CRUD app moving the backend to Rust.
13
u/_AACO 1d ago
Python is dead! Long live Python!
22
u/scragz 1d ago
damn I better tell this django code I'm editing right now.
10
u/Mordiken 1d ago
The Google-scale fallacy: Engineering a service to cope with 100000 requests/second when all that's needed is a system that's able to handle 10000 requests/day.
2
u/masterlafontaine 1d ago
Most apps are IO bound, waiting to APIs or both. While he brings good arguments, most apps are not running simulators on the backend.
4
u/Gremlation 1d ago
This argument makes a very common mistake that means it's ridiculously out of touch.
Very few developers will ever work on a system that explodes 1,800x. The vast majority of developers do not work at one of the most valuable companies in the world. The vast majority of developers work on small teams in small businesses with small traffic. Extrapolating from what Anthropic needs to do to manage ridiculously high growth and applying that to the rest of the world that absolutely does not need to do anything like this is ridiculous.
4
u/GoTheFuckToBed 1d ago
the image from 2017 is yikes, thats like skipping 10 years of improvement
2
u/autopoiesies 1d ago
I remember thinking things like Django/Flask were already outdated back in 2016 when Angular and Node.js were the flashy new things
2
u/Hatchie_47 1d ago
Future of code may not be human written, but still needs to be human maintained, reviewed and understood. If you want to move tu Rust despite having no developers experienced in Rust because “AI will write the code” you are in for a nasty surprise!
Reminds me back in my last work when “relational databases are dead” era was on. Despite having a team of 10 Postgres developers in the company this team of Java developers decided to create a new product with different NoSQL storage despite non of them having any experience with it. 3 months into production they had a massive incident which resulting in finding a very expensive outside company that actually knew the NoSQL technology they were using and came fast to fix their mess. Turns out the maintainers actually need to understand the techstack they are using…
1
u/Rare_Coffee_130 1d ago
is dead again?
1
u/No-Ear843 13h ago
That's strange, I was thinking the exact opposite.
1
u/Litra 1d ago
braindead take
1
u/2hands10fingers 1d ago
Laughs in consulting agency
-2
u/sisyphus 1d ago
My experience has been that this is an article of faith that is in practice completely false. LLMs are very happy to type all your Python code for one thing. For another thing, the only thing I've been hearing all the time for the last 20 years of type system weenies yelling about Haskell/Rust &c is that they eliminate the need to test for a bunch of shit ("a whole class of errors"). But tests are just code and code is now worthless and free and I have an infinitely patient assistant to get me to 100% coverage or whatever I want while I take a nap. Yes they take time to run but it's not like Rust compilation is fast, and the agent can interpret a Python runtime stack trace generated in testing just as easily as compiler output in my experience.
1
u/[deleted] 1d ago
[removed] — view removed comment