The Picard Maneuver@lemmy.worldM to memes@lemmy.world · 2 months agoMaking a difference, one date at a time.lemmy.worldimagemessage-square108fedilinkarrow-up1944arrow-down112
arrow-up1932arrow-down1imageMaking a difference, one date at a time.lemmy.worldThe Picard Maneuver@lemmy.worldM to memes@lemmy.world · 2 months agomessage-square108fedilink
minus-squarelime!@feddit.nulinkfedilinkarrow-up1·2 months agobecause making sure offsets are correct come up a lot when you’re memory-mapping IO.
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up2·2 months agoRight but whether they’re correct or not doesn’t depend on the name you use. Every programmer worth his name knows arrays start at offset zero even if you don’t call it that.
minus-squarelime!@feddit.nulinkfedilinkarrow-up1·edit-22 months agoexcept if you use lua. …which doesn’t have arrays, but still.
because making sure offsets are correct come up a lot when you’re memory-mapping IO.
Right but whether they’re correct or not doesn’t depend on the name you use. Every programmer worth his name knows arrays start at offset zero even if you don’t call it that.
except if you use lua.
…which doesn’t have arrays, but still.