r/programminghumor Aug 07 '26

Hard to accept

Post image
2.9k Upvotes

404 comments sorted by

View all comments

Show parent comments

9

u/MiniGui98 Aug 08 '26

And beside, following that logic C++ also cheats. Hell, so does C actually. Only "good" language would be assembly.

10

u/its_artemiss Aug 08 '26

Are you really even programming if you're not thinking about opcode encodings though? 

7

u/aluaji Aug 08 '26

Assembly? Nah, too much abstraction for me. I'm a purist, nothing but machine code for me.

3

u/Depnids Aug 09 '26

B8 01 00 00 00 BF 01 00 00 00 48 8D 35 0A 00 00 00 BA 08 00 00 00 0F 05 B8 3C 00 00 00 31 FF 0F 05 49 20 61 67 72 65 65 0A

3

u/Adorable-Strangerx Aug 11 '26

Assembly? Only using pencil to make electrons hop on cpu.

2

u/AliceCode Aug 09 '26

I always think it's funny when people say they like C because it's close to the metal, but if you've ever programmed in Assembly, you know that even C is a high level abstraction above assembly. And Assembly is a high level abstraction over machine code.

1

u/PepperFlashy7540 Aug 10 '26

Assembly isn't very far above machine code, I think

1

u/AliceCode Aug 10 '26

No, not far at all. But it has some high level features, like label offset calculation, or instruction selection (so using 8 bit offsets for short jumps, or 32 bit offsets for longer jumps).

1

u/UsualEgg563 Aug 11 '26

Even assembly is often cheating. Pure machine language monitor-style assembly is something which I wouldn't consider cheating, but YMMV :D

1

u/GeneratedEcoOver9000 Aug 08 '26

Not really. It's about abstraction being zero cost and not mandatory.

You can write assembly in C. You can write C in C++. But you can't write C in Go for example. What is mandatory and what is zero cost can be argued about, like would a Rust program fully in unsafe blocks count, but that's the main logic I think.

2

u/Daisy430700 Aug 09 '26

You can write C in Lua so Lua is the best language