FROM : Rainer Brockerhoff
DATE : Sat Jan 26 05:30:35 2002
>From: Ondra Cada <<email_removed>>
>Date: Sat, 26 Jan 2002 00:49:37 +0100
>
> >>>>>> Finlay Dobbie (FD) wrote at Fri, 25 Jan 2002 23:04:37 +0000:
>FD> Or do you group anything with a non-Obj-C API that is part of OS X
>FD> as "Carbon"? :-P
>
>In a sense, yep: the vast majority of that API is "carbon" in the sense that
>it is here just for compatibility with Classic stuff, otherwise it could
>(and should!) be implemented quite by a different way:
I may be mistaken here, since I haven't done a systematic examination... but I had occasion to trace into the machine code of several Cocoa implementations (notably in file handling), and they appear to call Carbon File Manager routines often. Quite a few parts of Cocoa seem to be just a thin shell over the equivalent Carbon calls.
You might argue that this is a consequence of HFS+ support, I suppose...
--
Rainer Brockerhoff <<email_removed>>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)
DATE : Sat Jan 26 05:30:35 2002
>From: Ondra Cada <<email_removed>>
>Date: Sat, 26 Jan 2002 00:49:37 +0100
>
> >>>>>> Finlay Dobbie (FD) wrote at Fri, 25 Jan 2002 23:04:37 +0000:
>FD> Or do you group anything with a non-Obj-C API that is part of OS X
>FD> as "Carbon"? :-P
>
>In a sense, yep: the vast majority of that API is "carbon" in the sense that
>it is here just for compatibility with Classic stuff, otherwise it could
>(and should!) be implemented quite by a different way:
I may be mistaken here, since I haven't done a systematic examination... but I had occasion to trace into the machine code of several Cocoa implementations (notably in file handling), and they appear to call Carbon File Manager routines often. Quite a few parts of Cocoa seem to be just a thin shell over the equivalent Carbon calls.
You might argue that this is a consequence of HFS+ support, I suppose...
--
Rainer Brockerhoff <<email_removed>>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)






Cocoa mail archive

