Ken Treis wrote:
> On Sep 16, 2009, at 12:02 PM, Douglas Brebner wrote:
>
>   
>> One minor point is that whether integers and longs are different  
>> depends
>> on the platforms data model. Under MS Win64, integers and long  
>> integers
>> are both 32bit, while on most unixes integers are 32bit while long  
>> ints
>> are 64bit. (LLP64 and LP64 models respectively)
>>
>> I don't know if this is important though.
>>     
>
> Good point. All of my platforms are LP64 (Mac OS X and Linux x86-64),  
> and my main objective at present is to get this working for an  
> application I'm committed to build, so I was ignoring those sorts of  
> cross-platform details.
>
> Perhaps there would need to be new primitives for the basic size of  
> each relevant C type? I'm anxious to hear what Eliot might have to say  
> about this since he's got about 2000x more experience with this than I  
> do.
>
>   

There's actually four 64bit data models, though I believe that pretty
much every mainstream 64 bit platform is LP64 except MS Windows. Though
no doubt someone is waiting to prove me wrong :)

BTW, I just read about an embedded processor with 32 bit pointers, 32
bit integers but 40 bit(!) longs. Now that's nasty.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to