JPDev@programming.dev to Programmer Humor@programming.dev · 11 months agoSleep() at homeprogramming.devimagemessage-square32fedilinkarrow-up1610arrow-down116
arrow-up1594arrow-down1imageSleep() at homeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square32fedilink
minus-squarebangupjobasusual@sh.itjust.workslinkfedilinkarrow-up83·11 months agoI think some compilers will just drop that in the optimization step.
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up28·11 months agoReal pain in the ass when you’re in embedded and your carefully placed NOPs get stripped
minus-squareMidnight Wolf@lemmy.worldlinkfedilinkEnglisharrow-up17·11 months agoHomer: “oh yeah speed holes sleep”
I think some compilers will just drop that in the optimization step.
Real pain in the ass when you’re in embedded and your carefully placed NOPs get stripped
asm(“nop”);
Homer: “oh yeah speed
holessleep”Sleep holes