ericjmoreyM to Eric Posts URLsEnglish · 6 months ago64-Bit Bank Balances ‘Ought to be Enough for Anybody’? | Rafael Batiati | Sep 19, 2023tigerbeetle.comexternal-linkmessage-square6fedilinkarrow-up17arrow-down11
arrow-up16arrow-down1external-link64-Bit Bank Balances ‘Ought to be Enough for Anybody’? | Rafael Batiati | Sep 19, 2023tigerbeetle.comericjmoreyM to Eric Posts URLsEnglish · 6 months agomessage-square6fedilink
minus-squareNateNate60@lemmy.worldlinkfedilinkarrow-up1·6 months agoIn a perfect world, 32 bits would be enough.
minus-squareNateNate60@lemmy.worldlinkfedilinkarrow-up2arrow-down3·6 months agoNobody should be able to accumulate more than 2^31 dollars. That level of hoarding is just bad for society.
minus-squareCharlesMangione@lemmy.worldlinkfedilinkEnglisharrow-up3·6 months agodon’t forget you need decimals and negatives too
minus-squareericjmorey@programming.devlinkfedilinkarrow-up2·edit-26 months agoWhat if your system needs to sum transaction values of hundreds of millions of accounts and report a total volume of transactions?
In a perfect world, 32 bits would be enough.
I’m not sure what that means
Nobody should be able to accumulate more than 2^31 dollars. That level of hoarding is just bad for society.
don’t forget you need decimals and negatives too
What if your system needs to sum transaction values of hundreds of millions of accounts and report a total volume of transactions?
In a perfect 1995 world