Sleep() at homeJPDev@programming.dev to Programmer Humor@programming.dev – 590 points – 10 months ago30Post a CommentPreviewYou are viewing a single commentView all commentsI 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 strippedasm("nop");Homer: "oh yeah speed holes sleep"Sleep holes
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 strippedasm("nop");Homer: "oh yeah speed holes sleep"Sleep holes
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