• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How viable is Cocoa development?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How viable is Cocoa development?


  • Subject: Re: How viable is Cocoa development?
  • From: Hsu <email@hidden>
  • Date: Sat, 26 Jan 2002 11:19:54 -0800

Isn't the elegance of Cocoa the design, not the implementation?

It makes sense from Apple's point of view - if at all possible have a single implementation with 2 different ways to access (Carbon and Cocoa).

It's easier to write a Cocoa wrapper on top of Carbon than the other way around.

Karl

On Friday, January 25, 2002, at 08:30 PM, Rainer Brockerhoff wrote:

From: Ondra Cada <email@hidden>
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@hidden>
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-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.


--

Java Haiku:
cd jdk
rm -r *.*
garbage collection

Homepage:
http://homepage.mac.com/khsu/index.html


  • Follow-Ups:
    • Re: How viable is Cocoa development?
      • From: David Rehring <email@hidden>
References: 
 >Re: How viable is Cocoa development? (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Re: App and custom icon.
  • Next by Date: DisplayKit
  • Previous by thread: Re: How viable is Cocoa development?
  • Next by thread: Re: How viable is Cocoa development?
  • Index(es):
    • Date
    • Thread