695
Python! (lemmy.ml)
submitted 3 days ago by tfm@europe.pub to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Cevilia 16 points 2 days ago

Ah, Python. It might not be fast, but it gets it right in the end. :)

[-] barubary@infosec.exchange 8 points 2 days ago
$ python3 -c 'f = (lambda x: x + 0.5 - 0.5); print(f(2**52))'  4503599627370495.5

#python

[-] Cevilia 11 points 2 days ago

Ahh, contrived examples of floating point errors. I haven't seen those since I asked Javascript to add 0.1 and 0.2 :)

[-] MashedTech@lemmy.world 1 points 2 days ago

Just wait till they get rid of GIL!

[-] Valmond@lemmy.world 1 points 2 days ago

And get a whole bunch of multi threading horrors...

[-] MashedTech@lemmy.world 1 points 1 day ago

Well... I'm sorry to tell you... But they're already working on it.

[-] Valmond@lemmy.world 1 points 13 hours ago

Uh, it'll be like C++ but slow then ...

this post was submitted on 07 Aug 2025
695 points (100.0% liked)

Programmer Humor

37681 readers
415 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS