Sir this is a shit post
- 0 Posts
- 4 Comments
- ryannathans@aussie.zonetoLemmy Shitpost@lemmy.world•When women can't figure out crazy requests from men24·2 days ago
- ryannathans@aussie.zonetoTechnology@lemmy.world•Torvalds: AI Is the New Compiler, Not the New ProgrammerEnglish181·2 days ago
You don’t need parallelism to have a race condition, just not handling an event with expected timing can cause one - like when two keys are pressed within one polling cycle and you depend on one being pressed before the other for some logic like up and right arrow for a diagonal but they register as right and up so the diagonal movement doesn’t trigger
Compiler optimisation strategies sometimes use statistical machines and link time optimisation does use random number generators for producing output
- ryannathans@aussie.zonetoTechnology@lemmy.world•Torvalds: AI Is the New Compiler, Not the New ProgrammerEnglish935·2 days ago
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.
Only if there’s shit in it