this post was submitted on 22 Jun 2025
483 points (99.0% liked)

Programming

21332 readers
141 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Lemminary@lemmy.world 5 points 1 week ago (5 children)

the other day I needed to read some assembly and decompiled C

As one casually does lol Jokes aside, that's pretty cool. I wish I had the technical know-how and, most importantly, the patience for it.

[–] FizzyOrange@programming.dev 9 points 1 week ago* (last edited 1 week ago) (3 children)

Assembly is very simple (at least RISC-V assembly is which I mostly work with) but also very tedious to read. It doesn't help that the people who choose the instruction mnemonics have extremely poor taste - e.g. lb, lh, lw, ld instead of load8, load16, load32, load64. Or j instead of jump. Who needs to save characters that much?

The over-abbreviation is some kind of weird flaw that hardware guys all have. I wondered if it comes from labelling pins on PCB silkscreens (MISO, CLK etc)... Or maybe they just have bad taste.

I once worked on a chip that had nested acronyms.

[–] amorpheus@lemmy.world 5 points 1 week ago (1 children)

Who needs to save characters that much?

Do you realize how old assembly language is?

It predates hard disks by ten years and coincided with the invention of the transistor.

[–] FizzyOrange@programming.dev 3 points 1 week ago

Do you realize how old assembly language is?

Do you? These instructions were created in 2011.

It predates hard disks by ten years and coincided with the invention of the transistor.

I'm not sure what the very first assembly language has to do with RISC-V assembly?

load more comments (1 replies)
load more comments (2 replies)