Re:Show HN
by jstimpfle on Saturday December 03, 2022 @08:22PM
(#33849525)
size_t need only be large enough to cover the (virtual) address space. It's up to hardware and OS to decide how much addressable space you get. I believe current systems can use only the low 48 bits of 64-bit pointers. However that number is likely to be increased in the future and OSes would be unwise to define size_t as something smaller than 64 bits.
[ Parent
| on HN ]
There are no comments on this comment yet.