Hello!
We know that in 64bit computers pointers will be 8bytes, that will allow us to address a huge memory. But on the other hand, memories that are available to usual people now are up to 16G, that means that at the moment we do not need 8 bytes for addressig, but 5 or at most 6 bytes.
I am a Delphi user.
The question (probably for developers of 64 bit compiler) is:
Would it be possible to declare somewhere how many bytes you would like to use for pointers, and that will be valid for the whole application. In case that you have application with millions of pointers and you will be able to declare that pointers are only 5 bytes, the amount of memory that will be occupied will be much lower. I can imagine that this could be difficult to implement, but I am curious anyway about it.
Thanks in advance.