The Picard Maneuver@lemmy.worldM to memes@lemmy.world · 1 day agoMaking a difference, one date at a time.lemmy.worldimagemessage-square104linkfedilinkarrow-up1934arrow-down112
arrow-up1922arrow-down1imageMaking a difference, one date at a time.lemmy.worldThe Picard Maneuver@lemmy.worldM to memes@lemmy.world · 1 day agomessage-square104linkfedilink
minus-squarelime!@feddit.nulinkfedilinkarrow-up1·9 hours agobecause making sure offsets are correct come up a lot when you’re memory-mapping IO.
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up2·7 hours 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-24 hours 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.