this post was submitted on 26 Aug 2023
838 points (91.6% liked)

Programmer Humor

19623 readers
2836 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
[–] [email protected] 2 points 1 year ago

It's the other way round. Code is being written to fit how a specific machine works. This is what makes Assembly so hard.

Also there is by design no understanding required, a machine doesn't "get" what you are trying to do it just does what is there.

If you want a machine to understand what specific code does and modify that for another machine that is extremely hard because the machine would need to understand the semantics of the operation. It would need to "get" what you were doing which isn't happening.