Re: Do I really need to steer clear of Objective-C when providing data for RemoteIO?
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:12:10 +0000
Thanks for the debate folks. What I'm gathering is that if I know what I'm doing, it's possible to use Objective-C safely for audio code, but if I only halfway (or less) know what I'm doing, it may be safer and simpler to just keep all real-time audio in C++ land.
On Fri, Jan 7, 2011 at 6:08 PM, Gregory Wieber
<email@hidden> wrote:
Since the original post was about whether or not Objective-c is the 'wrong tool for the job', I was simply trying to illustrate that a complex audio project may have more than one 'job', and while objective-c should be avoided in render intensive 'jobs' of the audio, there are higher level areas of a project where it can co-exist quite usefully.
On Fri, Jan 7, 2011 at 10:03 AM, 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.
On Fri, Jan 7, 2011 at 9:20 AM, Paul Davis
<email@hidden> wrote:
On Fri, Jan 7, 2011 at 11:58 AM, Gregory Wieber <
email@hidden> wrote:
> You want your render callback code to be as efficient as possible, and that
> means that the overhead of calling objective-c messages can come into play.
> That said, objective-c messages are not always going to be your bottleneck,
> because it's easy to do something else in your code that's 10x's worse than
> using a few simple objective-c messages. But if you're unsure of the gritty
> details, then just avoid them altogether.
the issue is not the "inefficiency" of objective C versus anything
else. its that the objective C runtime can block.
_______________________________________________
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:
Mobile Phone:
(646) 206-8337
Music/Art:
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