Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon, Cocoa, and 64 bits - I'm confused




On Jun 29, 2007, at 12:03 AM, Peter S Lau wrote:

On Jun 28, 2007, at 10:55 PM, Laurence Harris wrote:

On Jun 28, 2007, at 4:05 PM, Peter Lau wrote:

2. There's no formal definition of Carbon, so we have no idea which part will not go 64-bit (MacWindows.h, CarbonEvents.h, Menus.h, Pasteboard.h, Files.h, etc.)

Actually, people who have been reading these threads faithfully do have an idea. ;-)

Some idea,

You said "no" idea. ;-)

but not the whole idea, and there's no official list AFAIK.

True, but it's pretty clear what's going to be 64-bit and what isn't. (see below)


Deric Horn clarified this and said that for the purposes of 64-bit support, "Carbon" referred to HIToolbox. So the Window Manager, HIView, and the Menu Manager are out, but Carbon Events, the File Manager and pretty much anything not related to the UI is in. Basically, anything a Cocoa application might use will get 64-bit support. Anything that's limited to Carbon applications won't. That's pretty much translates into the UI technologies.

I must have missed that posting... I recall Eric's posting about the Menu Manager... I think he even mentioned HIToolbox so I would imagine Window Manager... I wasn't sure about the View system since I thought the API's mirror with Cocoa well (but how much do I know about Cocoa, right?)...

I don't understand how Cocoa uses these things, but to be completely accurate, some of these things, like the Menu Manager, composited window support (used by the Menu Manager) and such *will* be privately available to Cocoa in 64-bit, but not to Carbon.


Rather than worry about exactly which parts will be not be available in 64-bit, just think about what they're trying to do. The general rule, which is consistent with Apple's goal of getting everyone to use Cocoa, is that anything a Cocoa application might use, like the Memory Manager, the File Manager, the Alias Manager, and so on will be available in 64-bit. Anything specific to Carbon -- and that would pretty much be code to create and manage the UI, will not be available in 64-bit. The upshot is that you can't use Carbon if you want a GUI.

Off top my head (at 12:00 am), what good is a 64-bit Carbon Event if you can't write a 64-bit HIToolbox GUI? I guess part of Cocoa uses Carbon Events?

Correct, though I don't recall the details.

Larry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Carbon, Cocoa, and 64 bits - I'm confused (From: Peter Lau <email@hidden>)
 >Re: Carbon, Cocoa, and 64 bits - I'm confused (From: Laurence Harris <email@hidden>)
 >Re: Carbon, Cocoa, and 64 bits - I'm confused (From: Peter S Lau <email@hidden>)



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.