RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 7 days agoKilobyte is precisely 1000 byteswaspdev.comexternal-linkmessage-square18linkfedilinkarrow-up120arrow-down11file-text
arrow-up119arrow-down1external-linkKilobyte is precisely 1000 byteswaspdev.comRSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 7 days agomessage-square18linkfedilinkfile-text
minus-squareover_clox@lemmy.worldlinkfedilinkEnglisharrow-up3·7 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·6 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