Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > NSInteger/NSUIn...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 942 of 1002
Post > Topic >>

NSInteger/NSUInteger in the Objective-C 64 bits runtime

by ActiveMan <basurero@[EMAIL PROTECTED] > Jan 6, 2008 at 10:02 PM

Hello, I am concerned about the reasons that induced Apple to introduce 
NSInteger and NSUInteger data types in Objective-C.

AFAIK in the UNIX community LP64 seems to be the facto accepted data 
types model for 64 bits programming, and both Intel and GCC compiler 
have chosen this model.

<http://www.unix.org/version2/whatsnew/lp64_wp.html>

On the other hand Microsoft C++ compiler has preferred to choose the 
LLP64 model.

<http://en.wikipedia.org/wiki/64-bit>

Apple uses GCC and complies with the LP64 model except for the 
pronouncement in favor of using 64 to represent integers that turns GCC 
LP64 model into an ILP64 model projected for Objective-C.

<http://developer.apple.com/documentation/Cocoa/Conceptual/Cocoa64BitGuide/Cocoa64BitGuide.pdf>

My 

question is why the 64 bits Objective-C 2.0 runtime doesn't use the 
standard UNIX and GCC data model. This is not a critic; I'm just 
looking for the rationale behind their decision.
 




 2 Posts in Topic:
NSInteger/NSUInteger in the Objective-C 64 bits runtime
ActiveMan <basurero@[E  2008-01-06 22:02:47 
Re: NSInteger/NSUInteger in the Objective-C 64 bits runtime
Greg Parker <gparker@[  2008-01-06 21:02:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 1:54:53 CDT 2008.