Is Objective C fast enough for DSP/audio programming

Posted by morgancodes on Stack Overflow See other posts from Stack Overflow or by morgancodes
Published on 2010-05-03T21:35:15Z Indexed on 2010/05/04 0:28 UTC
Read the original article Hit count: 718

Filed under:
|
|
|

I've been making some progress with audio programming for iPhone. Now I'm doing some performance tuning, trying to see if I can squeeze more out of this little machine. Running Shark, I see that a significant part of my cpu power (16%) is getting eaten up by objc_msgSend. I understand I can speed this up somewhat by storing pointers to functions (IMP) rather than calling them using [object message] notation. But if I'm going to go through all this trouble, I wonder if I might just be better off using C++.

Any thoughts on this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audio