this post was submitted on 17 Oct 2024
1378 points (98.9% liked)

RetroGaming

19551 readers
283 users here now

Vintage gaming community.

Rules:

  1. Be kind.
  2. No spam or soliciting for money.
  3. No racism or other bigotry allowed.
  4. Obviously nothing illegal.

If you see these please report them.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jas0n@lemmy.world 1 points 4 weeks ago

I shouldn't have used C++ as the example. Even C would work. I agree with everything you're saying, but the original premise. I think if you put ASM vs C, C++, rust, etc, performance would fall near 50/50.

I'm not the best assembly guy, and I'm not advocating we all write it. But I always felt that the compiler optimization assumption was wrong or weak. Everything would be aligned nicely for my sanity, not performance =]