this post was submitted on 20 Mar 2025
540 points (100.0% liked)

Greentext

6193 readers
1632 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 46 points 1 month ago (14 children)

Assembly language is not something you would ever really program a game in.

Back then you wrote whatever you needed to be performant and/or that involved close access to the hardware in assembler. A game would definitely count. It's kind of nice to do, in many ways it's simpler than high level programming, you've just got a lot more to keep track of.

[–] [email protected] 23 points 1 month ago (12 children)

This isn't really true on modern systems anymore. Lower level languages like C and Rust are more or less just as performant as handmade assembly.

[–] [email protected] 4 points 1 month ago (8 children)

Yup. And our processors are a lot more powerful, so the tricks you'd do in assembly to eek out performance just don't matter anymore.

[–] [email protected] 2 points 1 month ago

Yes that's what I was referring to.

It's some sort of out of order execution and branch prediction that does it. The thing you're usually waiting on the most is IO.

load more comments (7 replies)
load more comments (10 replies)
load more comments (11 replies)