• 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: GCD and blocks cross development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCD and blocks cross development


  • Subject: Re: GCD and blocks cross development
  • From: Chris Hanson <email@hidden>
  • Date: Thu, 10 Sep 2009 16:35:54 -0700

On Sep 10, 2009, at 7:42 AM, "email@hidden" <email@hidden > wrote:

Cross dev with GDC is possible as long as you don't use block, that is, as long as you use only 'dispatch_xxx_f' functions, but you lose some of the GDC advantages.

True. But blocks + dispatch_xxx are the killer combination.

You can get many of the same advantages using NSOperation, and write code that runs on Mac OS X 10.5 and 10.6 (and iPhone). Your code will automatically take advantage of GCD on Snow Leopard, since NSOperation is built atop it.


A good general rule is to write to the highest-level API possible to express your intent as richly as possible, and drop down to lower- level APIs when measurement shows it to be necessary for performance.

-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >GCD and blocks cross development (From: "email@hidden" <email@hidden>)
 >Re: GCD and blocks cross development (From: Steve Christensen <email@hidden>)
 >Re: GCD and blocks cross development (From: Jean-Daniel Dupas <email@hidden>)
 >Re: GCD and blocks cross development (From: Steve Christensen <email@hidden>)
 >Re: GCD and blocks cross development (From: Jean-Daniel Dupas <email@hidden>)
 >Re: GCD and blocks cross development (From: Steve Christensen <email@hidden>)
 >Re: GCD and blocks cross development (From: Jean-Daniel Dupas <email@hidden>)
 >Re: GCD and blocks cross development (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Singletons cause static analyzer warning
  • Next by Date: How the heck do I add a dependent project's build result in 3.2?
  • Previous by thread: Re: GCD and blocks cross development
  • Next by thread: Re: GCD and blocks cross development
  • Index(es):
    • Date
    • Thread