Taken from http://en.wikipedia.org/wiki/64-bit (under 64-bit data models )
There are various models, Microsoft decided that sizeof(int) == 4 , some (some) others did not.
The Solaris HAL computer port for SPARC64 and Unicos seems to be the only port where sizeof(int) == 8 . They are called ILP64 and SILP64 models.
The true βwarβ was for sizeof(long) , where Microsoft decided to use sizeof(long) == 4 (LLP64), and almost everyone decided for sizeof(long) == 8 (LP64).
Please note that this is actually a compiler that "decides" which model to use, but as written in the wiki
Note that the programming model is a choice made for each compiler, and several may coexist on the same OS. However, the programming model chosen as the primary model for the OS API usually dominates.
xanatos Mar 13 '12 at 17:34 2012-03-13 17:34
source share