On Feb 28, 2010, at 7:24 PM, Erik Buck wrote: > I disagree. I have written very low latency device drivers in Objective-C. > Why do you think Objective-C has too much "latency" for audio? When properly > used, Objective-C programs are no more likely to be preempted than any other > kind of program. Message dispatch generally has constant time and is only > 2.5 times the cost of a C function call.
That just cannot be true. But if you need speed you can write a direct C style subroutine and call, and it will be swift. The dynamic binding of ObC messages often isn't needed. > There aren't many function calls or messages sent in audio processing anyway. > Signal processing routines tend to be long loops. Objective-C _IS_ C which > means it is likely usable in any situation where C is usable. > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com