this post was submitted on 26 Mar 2025
545 points (97.1% liked)

Programmer Humor

23177 readers
1304 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
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 month ago

!lemmySilver

[–] [email protected] 12 points 1 month ago

I tough this was about excel and was like yeah haha!

But is about Python, so I'm officially offended.

[–] [email protected] 24 points 1 month ago (1 children)

Oh wow, a programming language that is not supposed to be used for every single software in the world. Unlike Javascript for example which should absolutely be used for making everything (horrible). Nodejs was a mistake.

[–] [email protected] 0 points 1 month ago (2 children)

Nodejs was a mistake.

More choice is always better

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Citations Needed: Episode 95: The Hollow Vanity of Libertarian "Choice" Rhetoric

Episode webpage: https://dts.podtrac.com/redirect.mp3/traffic.libsyn.com/secure/citationsneeded/CN95_20191205_choice_Stites_v2.mp3


Fucking Citations Needed, every time I finish an episode, someone comment something related to it.

[–] [email protected] 19 points 1 month ago* (last edited 1 month ago) (1 children)

And some of those choices are mistakes.

[–] [email protected] 6 points 1 month ago (1 children)
[–] [email protected] 14 points 1 month ago

I appreciate Typescript for addressing the sins of its predecessor.

[–] [email protected] 16 points 1 month ago (1 children)

let's be honest here, he actually means 0.01 core performance

[–] [email protected] 2 points 1 month ago

Yes, 0.99 performance being consumed by the interpreter.

[–] [email protected] 5 points 1 month ago

It only took us how many years?

[–] [email protected] 26 points 1 month ago (1 children)
[–] [email protected] 4 points 1 month ago (2 children)

Oooooh this is really cool, thanks for sharing. How could I install it on Linux (Ubuntu)? I assume I would have to compile CPython. Also, would the source of the programs I run need any modifications?

[–] [email protected] 5 points 1 month ago

In this case, it's a feature of the language that enables developers to implement greater amounts of parallelism. So, the developers of the Python-based application will need to refactor to take advantage of it.

[–] [email protected] 5 points 1 month ago (1 children)

From memory I can only answer one of those: The way I understand it (and I could be wrong), your programs theoretically should only need modifications if they have a concurrency related bug. The global interlock is designed to take a sledgehammer at "fixing" a concurrency data race. If you have a bug that the GIL fixed, you'll need to solve that data race using a different control structure once free threading is enabled.

I know it's kind of a vague answer, but every program that supports true concurrency will do it slightly differently. Your average script with just a few libraries may not benefit, unless a library itself uses threads. Some libraries that use native compiled components may already be able to utilize the full power of you computer even on standard Python builds because threads spawned directly in the native code are less beholden to the GIL (depending on how often they'd need to communicate with native python code)

[–] [email protected] 2 points 1 month ago

Thanks for the answer, I really hope Synapse will be able to work with concurrency enabled.

[–] [email protected] 10 points 1 month ago
[–] [email protected] 17 points 1 month ago (2 children)

don't worry it'll use all the RAM anyway

[–] [email protected] 9 points 1 month ago (1 children)

I paid for all the memory. I'll use all the memory.

[–] [email protected] 2 points 1 month ago

JG Memoryworth

[–] [email protected] 8 points 1 month ago

No RAM gets wasted!

load more comments
view more: next ›