this post was submitted on 03 Jan 2025
385 points (95.5% liked)

Programmer Humor

32710 readers
239 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 5 days ago (4 children)
[–] [email protected] 22 points 4 days ago
[–] [email protected] 32 points 5 days ago (1 children)

Quantum computers enter the picture

[–] [email protected] 30 points 4 days ago

Damn woke physics

[–] vane 11 points 5 days ago

There are ternary computers - just not so popular. Maybe when Carbon nanotube computers will take off it will be a thing.

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

No, all files are base 256

[–] [email protected] 8 points 4 days ago

That's just binary with extra steps.

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

Everything is open source if you can read assembly.

[–] [email protected] 19 points 5 days ago (3 children)

binaries aren't assembly though, they're *peers at notes, draws a blank* they're.... something else

[–] [email protected] 33 points 5 days ago

You just have to be able to navigate whatever executable file format it is, figure out where the data/code sections are, how different parts are linked together, and translate all the binary opcodes to readable mnemonics.

Easy. 😁

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

I think it’s most commonly called machine code.

[–] idunnololz 2 points 4 days ago

True. Machine code usually has a 1:1 mapping to assembly so it's not hard to read machine code as assembly. Although you will not see any of the labels (unless for some reason the the labels were left in).

[–] Ziglin 4 points 4 days ago

They're assembled into binary (together with metadata in some cases).

[–] fnrir 22 points 5 days ago (2 children)
[–] SpaceNoodle 26 points 5 days ago* (last edited 5 days ago) (1 children)
[–] fnrir 17 points 5 days ago (2 children)

Now all we need to do is rewrite this in Rust (the enby solution) and call it... idk... "enbym"?

[–] horse_battery_staple 6 points 5 days ago

Dark mode would be NB-PM

[–] SpaceNoodle -1 points 5 days ago (1 children)
[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)

C for crap.

R for rubish.

Fair enough.

[–] [email protected] 9 points 5 days ago

Also: https://github.com/TodePond/DreamBerd

Booleans can be true, false or maybe. Technical info: Booleans are stored as one-and-a-half bits.

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

Remember, there is no 'bad' code – we have to be tolerant. There is just 'different' code.

[–] [email protected] 7 points 4 days ago (1 children)

*glances at PR*

Man why does your code look so... *Different? *

[–] [email protected] 4 points 4 days ago
[–] Valmond 8 points 5 days ago

New gender dropped, source baby source!