this post was submitted on 21 Dec 2025
369 points (100.0% liked)

Technology

77843 readers
3080 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] palordrolap@fedia.io 5 points 11 hours ago (2 children)

The real question might be whether the compiler was smart enough to change var++ and var-- into ++var and --var when the initial values aren't needed.

As compiler optimisations go, it's a fairly obvious one, but it was 1974 and putting checks like that in the compiler would increase its size and slow it down when both space and time were at a premium.

[–] xthexder@l.sw0.com 7 points 11 hours ago

Well, good news, the source code is right there. Someone can go check (it probably won't be me)

I was going to guess the same regarding the time period.