Re: Question about NSRange on the G5 and the future sizeof(int).
Re: Question about NSRange on the G5 and the future sizeof(int).
- Subject: Re: Question about NSRange on the G5 and the future sizeof(int).
- From: "Kenneth C. Dyke" <email@hidden>
- Date: Sun, 13 Jul 2003 13:59:48 -0700
An interesting article that provides some food for thought on the
various ways of dealing with 64-bit programming environments is
available at
http://www.opengroup.org/public/tech/aspen/lp64_wp.htm.
I don't believe Apple has made any public statements regarding 64-bit
support in the OS, though, and I certainly wouldn't bet any parts of
*my* anatomy at this point as to which direction will be chosen. ;)
In the meantime, the one thing I've tried to start doing in my code is
to use the new C99 uintptr_t datatype whenever I need to do some
pointer arithmetic type stuff. If you're doing something horrible
like casting pointers to UInt32, stop it. ;)
-Ken
nneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++: The power, elegance and simplicity of a hand grenade.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.