HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agoI have a 64-bit genderlemmy.mlimagemessage-square26fedilinkarrow-up1267arrow-down132
arrow-up1235arrow-down1imageI have a 64-bit genderlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agomessage-square26fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up23·1 year agoEven booleans take up 8 bits. And that’s a lot of wasted space.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up7·1 year agoThat’s why you use bitarrays and bitflags instead when you need more than just one or two arguments for a function.
minus-squareGladaed@feddit.orglinkfedilinkarrow-up7·1 year agoThat’s only due to technical reasons on weird platforms like x86, 64bit x86 or ARM.
minus-square__nobodynowhere@startrek.websitelinkfedilinkEnglisharrow-up2·1 year agoSolution: 1 bit computer
Even booleans take up 8 bits. And that’s a lot of wasted space.
That’s why you use bitarrays and bitflags instead when you need more than just one or two arguments for a function.
That’s only due to technical reasons on weird platforms like x86, 64bit x86 or ARM.
Solution: 1 bit computer