c/programmerhumor · by tgxn@lemmy.tgxn.net · 3yCosmic Rays? 72 points · 9 comments · view on lemmy.world
9 Comments
Attempted_Render@lemmy.fmhy.ml · 9 pts · 3y
True
tj111@lemmy.fmhy.ml · 8 pts · 3y
False
Attempted_Render@lemmy.fmhy.ml · 11 pts · 3y
cosmic ray detected.
Xanvial@beehaw.org · 8 pts · 3y
You should add returns ray detected outside of while loop
flambonkscious@sh.itjust.works · 3 pts · 3y
That resembles some of my PowerShell waaay too much. If it wasn't for the cosmic ray thing, I thought this was my GitHub...
chkno@lemmy.ml · 8 pts · 3y
Any sane compiler will simplify this into
C++ may further 'simplify' this into
LuciferMorningWood@lemm.ee · 4 pts · 3y
Iirc the issue was that while(true) would be removed while it should be replaced with ret and this caused a bug where the binary would execute next function
But I believe this way of cosmic ray detection would work
hadesflames@vlemmy.net · 1 pts · 3y
The spacing on the parenthesis 🤢🤢🤢