this post was submitted on 17 Dec 2025
473 points (96.1% liked)

Programmer Humor

27920 readers
1645 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] AnarchoSnowPlow@midwest.social 106 points 1 day ago (33 children)

Programming languages, much like the jackass in the middle, are tools. Different tools are for different things. The right tool for the job can make your day. The wrong tool can make you question your entire career.

[–] captain_aggravated@sh.itjust.works 9 points 1 day ago (1 children)

I seem to remember hearing this story: Back in the 2000s, Google did all their back-end stuff in C++ to make sure it was performant, and when they acquired Youtube they found it was made in Python, slow to run, fast to develop.

[–] victorz@lemmy.world 5 points 1 day ago (2 children)

Did they change it after the acquisition? Or is python why it's still so freaking slow?

[–] boonhet@sopuli.xyz 6 points 1 day ago (2 children)

Lol @ YouTube being slow

Look at the amount of data that goes through their servers every millisecond. It's ridiculous. All things considered, YouTube is lightning fast.

Maybe the UI isn't as snappy as it could be, but the blame there lies solely on throwing more and more javascript at it to add "features" that end users don't really want.

[–] victorz@lemmy.world 2 points 1 day ago

Aaand artificially slowing down video loading by several seconds, last but not least.

[–] CheesyFox@lemmy.sdf.org 1 points 1 day ago (1 children)

is it tho? Or youtub is just profitable enough to neglect the compute overhead cost?

[–] BuboScandiacus@mander.xyz 1 points 12 hours ago

YouTube is surprisingly not very profitable

[–] sping@lemmy.sdf.org 4 points 19 hours ago* (last edited 19 hours ago) (1 children)

Things is you don't crunch numbers in Python code, you do that in libraries called from Python.

It's a few statements of orchestration and any heavy lifting is encapsulated compiled code.

You don't do tight loops on Python, or if you do you're using it wrong.

[–] victorz@lemmy.world 1 points 13 hours ago

This was mostly tongue in cheek, probably not very clear 😅

But yeah, fully agree with you.

load more comments (31 replies)