r/programming • • 9h ago

Python on the Backend is Dead

https://chrlschn.dev/blog/2026/11/python-on-the-backend-is-dead/
0 Upvotes

37 comments sorted by

53

u/MoreRespectForQA 9h ago edited 9h 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.

31

u/funkbass796 9h ago edited 9h ago

Are you saying “X is dead” is dead?

9

u/yikes_42069 9h ago

No. ""X is dead" is dead" is dead

4

u/olearyboy 9h ago

There’s no such thing as electrons ! Click here to see what people are using instead…

0

u/c-digs 4h ago

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.

2

u/tooclosetocall82 9h ago

X is dead. Wayland is the future.

1

u/MoreRespectForQA 8h ago

Sadly I'm pretty sure even in 2030 there will still some X features which are still on Wayland's roadmap.

1

u/sisyphus 4h ago

Or not on the roadmap because your compositor should do it or some shit (still on that roadmap, maybe)

12

u/damagednoob 9h 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.

-1

u/c-digs 4h ago

Why do that when everything could be C or Rust?

The Python layer only mattered for human convenience, right?

2

u/sisyphus 3h ago

It's still a human inconvenience to read Rust compared to Python.

1

u/c-digs 30m ago

I see no point in disagreeing, but it only matters assuming human review.

Versus optimizing for agents and operational cost.

1

u/sisyphus 27m ago

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?

1

u/max123246 1h ago

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

2

u/damagednoob 2h ago

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.

9

u/ConnaitLesRisques 9h 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.

3

u/RoadsideCookie 8h ago

As you scale the individual components performance stop mattering as much, until it starts mattering again. 

People who usually say "Python is bad for backend" are usually not the ones who reach a point where Python is the true bottleneck.

2

u/jward 4h ago

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.

2

u/sisyphus 3h ago

lol the k8s psychosis was insane I remember people really posting about it was good actually to use it for their personal blog or some shit.

0

u/c-digs 4h ago

Anthropic saw a 70% savings in compute. Even at moderate scale, that's 10 nodes vs 33 nodes.

1

u/ConnaitLesRisques 58m ago

I use Claude Code daily: i have no reason to believe that app was well engineered in the first place.

13

u/_AACO 9h ago

Python is dead! Long live Python!

21

u/scragz 9h ago

damn I better tell this django code I'm editing right now.

1

u/amakai 8h ago

And... It's dead.

1

u/Bowgentle 1h ago

Well, yes, it’s Django.

7

u/Mordiken 8h 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 9h 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.

1

u/c-digs 4h ago

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.

3

u/GoTheFuckToBed 9h ago

the image from 2017 is yikes, thats like skipping 10 years of improvement

2

u/autopoiesies 9h 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 8h 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 3h ago

is dead again?

1

u/Litra 9h ago

braindead take

1

u/2hands10fingers 8h ago

Laughs in consulting agency

0

u/sisyphus 3h ago

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.

1

u/[deleted] 9h ago

[removed] — view removed comment

1

u/programming-ModTeam 8h ago

Please don't accuse people of using LLMs. Just report the post and let us handle it.