• 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: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?


  • Subject: Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
  • From: Morgan Packard <email@hidden>
  • Date: Fri, 7 Jan 2011 18:22:09 +0000

C? How about C++?

On Fri, Jan 7, 2011 at 6:18 PM, Gregory Wieber <email@hidden> wrote:
Fair enough.  To the original poster -- I think everyone would agree with me in saying,  just stick to C in any area of your app that is time-critical, and you'll avoid a lot of issues.

On Fri, Jan 7, 2011 at 10:13 AM, Paul Davis <email@hidden> wrote:
On Fri, Jan 7, 2011 at 1:03 PM, Gregory Wieber <email@hidden> wrote:
> That kind of ignores the point of everything else I wrote,  and is splitting
> hairs on wording.  The word 'overhead' was meant to refer to any and all
> performance issues related to using objective-c in a render callback.

i'm sorry, but its not splitting hairs. you could use a language that
was N times slower for every instruction/operation your code
performed, and it would still be OK (if a little odd) to use it in a
render callback. suboptimal, but not inherently bad. you could also
use a assembler for everything, but from assembler still do things
that destroy the more-or-less deterministic/RT nature of the render
callback. this would be fast, but inherently bad.

it is very important to distinguish "overhead" that is deterministic
(e.g. language foo is much expensive than language bar when doing a
frob operation), and "overhead" that is causes the thread to block.
coming from the linux world, i've seen dozens of examples where
developers fail to grasp the distinction between these two things. it
happens because people don't "split hairs" over the distinction often
enough, but instead just think in terms of "fast" and "slow.

--p


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

This email sent to email@hidden



--
================================
Web:
http://www.morganpackard.com

Mobile Phone:
(646) 206-8337

Music/Art:
Album Moment Again Elsewhere available Oct 11.
iOS app Thicket available on iTunes store.
================================

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
      • From: Gregory Wieber <email@hidden>
References: 
 >Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Morgan Packard <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Brian Willoughby <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Gregory Wieber <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Paul Davis <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Gregory Wieber <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Paul Davis <email@hidden>)
 >Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO? (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
  • Next by Date: Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
  • Previous by thread: Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
  • Next by thread: Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
  • Index(es):
    • Date
    • Thread