Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Introduction to 64-Bit Guide for Carbon Developers
One of Apple’s goals for OS X version 10.5 (Leopard) is to make it possible for applications to use 64-bit addressing. System libraries and frameworks are now 64-bit ready, meaning they can be used in both 32-bit and 64-bit applications. With this support, you can create applications that address extremely large data sets. On Intel-based Macintosh computers, some 64-bit applications may even run faster than their 32-bit equivalents because of the availability of extra processor resources in 64-bit mode.
Most APIs in OS X v10.5 are available to both 32-bit and 64-bit applications, but some APIs commonly used by Carbon applications are not. In particular, the APIs used to implement a Carbon user interface are generally available only to 32-bit applications. If you want to create a 64-bit application for OS X, you need to use Cocoa to implement its user interface.
You may not need to develop 64-bit versions of your applications right now, but you can start to prepare your projects for this transition. As part of this process, you need to adopt standard data types and implement some application features with alternative technologies. This document discusses guidelines, issues, and procedures specific to the transition to 64-bit executables for Carbon developers.
Who Should Read This Document?
This document is recommended reading for Carbon developers who want to learn what changes are necessary to create 64-bit executable versions of their applications.
Organization of This Document
This document contains the following chapters:
The Transition to 64-Bit Addressing describes the 64-bit initiative for OS X and offers general advice and guidelines for moving your projects to 64-bit addressing.
Modifying Your Application to Use 64-Bit Addressing describes what kinds of modifications are necessary in Carbon applications to make them compile and run as 64-bit executables.
Changes in the Human Interface Toolbox describes what’s changed in Carbon user interface APIs.
Changes in Other C APIs describes what’s changed in other managers and system services commonly used by Carbon applications, including printing and QuickTime.
See Also
This document is a supplement to 64-Bit Transition Guide, the definitive guide to 64-bit computing in OS X. If you haven’t already done so, you should read 64-Bit Transition Guide before reading this document.
For Cocoa-specific information, you should read 64-Bit Transition Guide for Cocoa.
You may also want to read Tiger Developer Overview Series: Developing 64-bit Applications, an ADC featured article that discusses 64-bit computing in OS X v10.4.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-04-23