AMD64 and malloc()
Posted on 2004-04-12
I'm having lots of trouble finding info on the web about how memory will be allocated on a 64 bit processor in c++. So far all I've found is compiler-specific this and compiler-specific that. Can anyone tell me how to be prepared to manage 64 bit memory in a cross-platform manner? will malloc crash if I try to malloc more than 0x7fffffff bytes on an AMD64? Is there going to be a commandline-switch for different compilers? hope this question is not dumb :)
PS I am presently using VC++ 6.0 command line.