@fl42v@lemmy.ml to Programmer Humor@programming.dev • 9 months agoYou can certainly change it. But should you?lemmy.mlimagemessage-square62fedilinkarrow-up1549arrow-down18
arrow-up1541arrow-down1imageYou can certainly change it. But should you?lemmy.ml@fl42v@lemmy.ml to Programmer Humor@programming.dev • 9 months agomessage-square62fedilink
minus-square@blackstratAlink4•9 months agoVolatile means that the value should be read each time its accessed. It can’t be cached in a register or the read be otherwise assumed and optimized away or the instructions around its access be reordered.
Volatile means that the value should be read each time its accessed. It can’t be cached in a register or the read be otherwise assumed and optimized away or the instructions around its access be reordered.