this post was submitted on 03 Jan 2025
395 points (95.0% liked)

Programmer Humor

32866 readers
953 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 27 comments
sorted by: hot top controversial new old
[–] [email protected] 42 points 1 week ago (1 children)

Everything is open source if you can read assembly.

[–] [email protected] 20 points 1 week ago (3 children)

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

[–] [email protected] 34 points 1 week 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] 27 points 1 week ago (1 children)

I think it’s most commonly called machine code.

[–] [email protected] 2 points 1 week 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).

[–] [email protected] 4 points 1 week ago

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

[–] [email protected] 39 points 1 week ago (4 children)
[–] [email protected] 34 points 1 week ago (1 children)

Quantum computers enter the picture

[–] [email protected] 31 points 1 week ago

Damn woke physics

[–] [email protected] 23 points 1 week ago
[–] [email protected] 11 points 1 week 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 1 week ago (1 children)

No, all files are base 256

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

That's just binary with extra steps.

[–] [email protected] 22 points 1 week ago (2 children)
[–] [email protected] 26 points 1 week ago* (last edited 1 week ago) (1 children)
[–] [email protected] 17 points 1 week ago (2 children)

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

[–] [email protected] 6 points 1 week ago

Dark mode would be NB-PM

[–] [email protected] -1 points 1 week ago (1 children)
[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

C for crap.

R for rubish.

Fair enough.

[–] [email protected] 9 points 1 week 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] 14 points 1 week ago (2 children)
[–] [email protected] 8 points 1 week ago
[–] [email protected] 1 points 1 week ago

Given my code (mind)fucks only those who try to read it, you're gay

[–] [email protected] 10 points 1 week ago (1 children)

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

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

*glances at PR*

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

[–] [email protected] 4 points 1 week ago
[–] [email protected] 8 points 1 week ago

New gender dropped, source baby source!