this post was submitted on 19 Jul 2025
1087 points (98.6% liked)

Programmer Humor

26703 readers
2717 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Source.

Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!

you are viewing a single comment's thread
view the rest of the comments
[–] paulbg@programming.dev 16 points 2 months ago (3 children)

bro ive been doing fullstack js dev for severals years to then realize php is superior💀

[–] 3x3@lemy.lol 5 points 2 months ago (1 children)

The only reason php is still alive is Facebook

[–] blarghly@lemmy.world 8 points 2 months ago
[–] MrSoup@lemmy.zip 5 points 2 months ago* (last edited 2 months ago) (4 children)

W-what? Did you used js as backend? How was performance?

[–] Zos_Kia@lemmynsfw.com 7 points 2 months ago (1 children)

It's very rare that the backend language significantly affects performance. In 99% of apps you could have the most optimized backend written directly in machine language, and you'd just shave off milliseconds.

That's because in web development most of the latency comes from i/o (network requests, database access, file access), not from computation being slow.

[–] buttnugget@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (1 children)

So why did Facebook build that whole system of converting C++ to PHP or whatever they did? Was it because they didn’t understand the savings? Or when you scale that high, the savings really are significant? Were there savings?

Edit to subtract: https://en.wikipedia.org/wiki/HHVM is what it eventually turned into, and apparently it showed significant improvements even above the previous system.

[–] blarghly@lemmy.world 2 points 2 months ago (1 children)

Probably because someone said it was a good idea in a meeting.

[–] buttnugget@lemmy.world 1 points 2 months ago (1 children)

There is absolutely no way that’s true lol

[–] blarghly@lemmy.world 1 points 2 months ago (1 children)

Its the most true thing you'll read all day.

[–] buttnugget@lemmy.world 1 points 2 months ago

You should look into it. Apparently it was quite a performance increase. I don’t understand all the technical details, but it is very cool to see what large enterprises do at scale.

[–] percent@infosec.pub 6 points 2 months ago

Thanks to web browser development, there has been quite a lot of focus/investment into JS runtime optimizations. Since the server-side runtime environments use those same JS engines, performance tends to be quite good.

[–] PolarKraken@programming.dev 6 points 2 months ago

Happens a lot - my (quite small) shop was using NestJS for backends and my boss is way more experienced and wise than me. I unintentionally caused us to switch over to Python, which probably sounds as silly as JS to many, but - we deliver dope shit, on time and on budget 🤷‍♂️

[–] yessikg@fedia.io 1 points 2 months ago

From my experience as a user? Not great if you are using a popular app

[–] darvit@lemmy.darvit.nl 4 points 2 months ago

Well better late than never.