RSS BotMB to Hacker NewsEnglish · 24 days agoKilobyte is precisely 1000 byteswaspdev.comexternal-linkmessage-square17linkfedilinkarrow-up120arrow-down11file-text
arrow-up119arrow-down1external-linkKilobyte is precisely 1000 byteswaspdev.comRSS BotMB to Hacker NewsEnglish · 24 days agomessage-square17linkfedilinkfile-text
minus-squareover_clox@lemmy.worldlinkfedilinkEnglisharrow-up3·24 days agoBut if you fall into the folly of decimal on a device inherently meant to process binary, then you might allocate an array of 1000 items, rather than the natural binary of 1024, leading to a chance of a memory overflow… Like, sell by the 1000, but program by the 1024.
minus-squareKairos@lemmy.todaylinkfedilinkEnglisharrow-up1·23 days agoAll the more reason to be precise
But if you fall into the folly of decimal on a device inherently meant to process binary, then you might allocate an array of 1000 items, rather than the natural binary of 1024, leading to a chance of a memory overflow…
Like, sell by the 1000, but program by the 1024.
All the more reason to be precise