HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 6 months 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 · 6 months agomessage-square26fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up23·6 months agoEven booleans take up 8 bits. And that’s a lot of wasted space.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up7·6 months 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·6 months agoThat’s only due to technical reasons on weird platforms like x86, 64bit x86 or ARM.
minus-square__nobodynowhere@startrek.websitelinkfedilinkEnglisharrow-up2·6 months 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