| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Saturday, June 28, 2003, at 11:08, Mike Vannorsdel wrote:_______________________________________________
Then it sounds like most of Mac OS X will remain 32-bit except for special cases (apps which need the large allocations). It seems like making the libraries 64-bit will cause huge backwards compatibility problems. Unless there are 32 and 64-bit versions of each.
I assume there will need to be an entire stack of libraries for 32 and another for 64 bit, with no mix-n-matching.
What would happen if your 32-bit code linked with a 64-bit lib?
I assume that the upper 32 bits in the general purpose registers in a 32-bit task would always be zeros, since the task wouldn't be putting anything in there itself. However, if the library tried to return something > 32 bits, the 32 bit task won't see the value properly in some way or other. Or, if a pointer to a pointer was being passed in, the 64-bit library might put a 64-bit pointer in the space for a 32-bit pointer that the app is passing a reference to. It's all just trouble waiting to happen.
| References: | |
| >Re: 64 bit addressing (From: Chris Kane <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.