this post was submitted on 22 Jun 2024
280 points (95.2% liked)

Programmer Humor

19187 readers
1165 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Prunebutt@slrpnk.net 30 points 2 months ago* (last edited 2 months ago) (3 children)

I once knew somebody who supposedly thought that ASM was high level.

[–] NateNate60@lemmy.world 27 points 2 months ago (2 children)

ASM is high level. Real programmers use punch cards

[–] sylveon@lemmy.blahaj.zone 34 points 2 months ago (2 children)

Real programmers use a magnetized needle and a steady hand.

[–] EntirelyUnlovable@lemmy.world 13 points 2 months ago

REAL programmers tap into the electron flow across the CPU and set bits in real time

[–] Prunebutt@slrpnk.net 12 points 2 months ago (1 children)

There's an emacs-command to do that.

[–] Hupf@feddit.de 6 points 2 months ago (1 children)

No, the emacs command is for the butterfly

[–] Prunebutt@slrpnk.net 3 points 2 months ago (1 children)

Dang, I meant a neovim-Plugin

[–] Ziglin@lemmy.world 2 points 2 months ago

Emacs keybind?

[–] boonhet@lemm.ee 11 points 2 months ago

Once met a man who said he loved assembly language because it was so much nicer than punch cards and FORTRAN, but C was OK too.

This was last year. In his defense though, he's been retired for years, used to work as a professor.

[–] duckythescientist@sh.itjust.works 17 points 2 months ago (1 children)

Wait until you learn about micro ops and processor internals. That somebody isn't as wrong as you think.

[–] abbadon420@lemm.ee 0 points 2 months ago* (last edited 2 months ago) (2 children)

There is no way ASM is high level

[–] MartianSands@sh.itjust.works 12 points 2 months ago (1 children)

It's a matter of perspective. To someone who's job is to write the system which interprets ASM, ASM is high level

[–] victorz@lemmy.world 6 points 2 months ago (1 children)

Exactly. For every level of abstraction, the abstractor is the high level and the abstractee is the lower level. Those aren't real words perhaps, but you get what I'm saying. It's all relative along the chain of abstraction.

[–] Ziglin@lemmy.world 1 points 2 months ago (1 children)

Is it a chain though? I think it's more of a branching network that (almost?) always is stopped at quantum physics and it's theories or some form philosophy.

[–] victorz@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

My mental model of it is a chain, yes. But you can define it however you like. It's just steps in some direction.

Maybe a cake would suit someone the best.

[–] Lmaydev@programming.dev 1 points 2 months ago (1 children)

It's higher than machine code. It's degrees of highness. Any abstraction technically makes it high level.

[–] abbadon420@lemm.ee 1 points 2 months ago* (last edited 2 months ago)

It's not really abstraction though. It is more like syntactic sugar. In stead of 1000111011 you say ADD, but it is still the exact same thing. There is no functional, prgrammatical benefit of one over the other. It's just that asm is readable by humans.

At least thats as far as I understand asm. I haven't gone beyond NandToTetris

[–] Cethin@lemmy.zip 3 points 2 months ago

I would argue they don't know what that means really. Assembly is pretty much a mapping of words to machine code. It's just a way to make machine code easier to read. It doesn't actually change how it works.

A compiler re-arranges and modifies things so what you write isn't the same as the final program that is created. With assembly it is. It's not really an abstraction, but a translation. It doesn't move you further from the machine, it only makes it so you're speaking the same language.