JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoSleep() at homeprogramming.devimagemessage-square32fedilinkarrow-up1603arrow-down116
arrow-up1587arrow-down1imageSleep() at homeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square32fedilink
minus-squarebangupjobasusual@sh.itjust.workslinkfedilinkarrow-up81·10 months agoI think some compilers will just drop that in the optimization step.
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up26·10 months agoReal pain in the ass when you’re in embedded and your carefully placed NOPs get stripped
minus-squarewreckedcarzz@lemmy.worldlinkfedilinkEnglisharrow-up17·10 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