• 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: what's difference and relationship between CoreFoundation and Fou ndation framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what's difference and relationship between CoreFoundation and Fou ndation framework


  • Subject: Re: what's difference and relationship between CoreFoundation and Fou ndation framework
  • From: Chad Jones <email@hidden>
  • Date: Wed, 5 Sep 2001 09:25:44 -0700

Sorry, I mis-spoke myself here. So i'll reiterate.

The majority of Carbon developers want a single binary as their output. That single binary they intend to work on both OS9 and OSX. Now while applications can link with carbon and other frameworks in OSX its not reasonable in the majority of cases to create a unified binary which contains several non-Carbon elements such as Foundation.

As for the command-line comment some command line tools (specifically daemon processes) which can't make use of AppKit because of its heavy dependency on the WindowServer (regardless of if graphics are being used). Because daemon processes live across logout and WindowServer doesn't, AppKit calls stop working as the daemon crosses a logout boundary. In most instances this will not be the case for CF calls as they have little dependency on the window server in compairison to their Foundation counterparts.

So overall while the differences between CF and Foundation are present they are actually fairly minor. Really the main difference is that CF depends on less of the system than Foundation does which makes it in some cases more accessable from other types of programming paradimes. Though, this doesn't seem to be what I said in my previous email. Though, I guess that's what happens when I try to answer questions at 5:00am. Sorry about the confusion.

At 2:50 PM +0200 9/5/01, Ondra Cada wrote:
Chad,

Chad Jones (CJ) wrote at Wed, 5 Sep 2001 05:31:56 -0700:
CJ> Probably the largest difference is that Foundation is a Cocoa-only
CJ> set API calls (can't be used from carbon, command-line etc.)

The latter's not true -- there is any number of CLI tools which use Foundation (and some which use AppKit as well).

There might be some internal limitations of Carbon which prevent using Foundation from there, but very definitely there is *NO* external (from the Carbon's point of view) problem in the Foundation itself which would prevent that.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

--

*******************************************************
Chad Jones
Engineer, Hardware & Networking group
Worldwide Developer Technical Support

Apple Computer, Inc. email: email@hidden
1 Infinite Loop, MS: 303-2T phone: (408) 974-8106
Cupertino, CA 95014 fax: (408) 862-7602
*******************************************************


  • Follow-Ups:
    • Re: what's difference and relationship between CoreFoundation and Fou ndation framework
      • From: Marcel Weiher <email@hidden>
References: 
 >what's difference and relationship between CoreFoundation and Fou ndation framework (From: Chad Jones <email@hidden>)

  • Prev by Date: Re: NSDrawWindowBackground question
  • Next by Date: Re: posting replies
  • Previous by thread: Re: what's difference and relationship between CoreFoundation and Fou ndation framework
  • Next by thread: Re: what's difference and relationship between CoreFoundation and Fou ndation framework
  • Index(es):
    • Date
    • Thread