3 ms·
> default int size 'int' size stays the same. 'long' gets bigger (on LP64 platforms). Apart from that, I would agree with your assessment.
by spacechild1 5y ago
> default int size
'int' size stays the same. 'long' gets bigger (on LP64 platforms).
Apart from that, I would agree with your assessment.
- genpfault 5y agohttps://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_m...
- em3rgent0rdr 5y agowow thanks...learned something new. I'm sorry when I was in university there were still SPARC64 machines around, which use the "ILP64" where the default int size increased to 64 bits, so that must have been why I was taught that the default int size increased when going to 64-bit arch.
- fulafel 5y agoSun-shipped 64-bit Solaris has 32 bit int and it's in the LP64 column of the Wikipedia table. The entry of a ILP64 HAL systems version is about this other niche Solaris port for HAL designed chips that was not commonly used in universities (or anywhere, for that matter).
- em3rgent0rdr 5y agooh gosh, my Sun Solaris system must have been on 32-bit ints in that case.