@fl42v@lemmy.ml to Programmer Humor@programming.dev • 8 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 • 8 months agomessage-square62fedilink
minus-square@blackstratAlink4•8 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.