this post was submitted on 17 Aug 2026
238 points (89.4% liked)

Technology

87417 readers
3841 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] piyuv@lemmy.world 181 points 5 days ago (25 children)

Never seen a non-deterministic compiler though

[–] ryannathans@aussie.zone 92 points 5 days ago* (last edited 5 days ago) (8 children)

C/C++ compilers are non deterministic due to support of super macros that change run to run, non-deterministic optimisation strategies or ordering due to parallelism, and linkers often produce different outputs every time they are run where subtle bugs can cause crashes when addresses don't line up how you expect. And that's without mentioning projects that use a configuration step.

It's actually a big problem in producing reproducible builds for security.

[–] Mondez@lemdro.id 28 points 5 days ago (3 children)

Can't most serious compilers produce reproducible builds these days given the same build environment. I know there has been a drive towards reproducible builds in general for security verification purposes.

[–] Natanael@infosec.pub 5 points 4 days ago

Not by default usually but yes, you need to do a lot of work to set all necessary configurations and sometimes provide your own RNG seed for things which insist on random looking values.

load more comments (2 replies)
load more comments (6 replies)
load more comments (22 replies)