Re: Re : Real-time buffer playback in Swift?
Re: Re : Real-time buffer playback in Swift?
- Subject: Re: Re : Real-time buffer playback in Swift?
- From: Rob Nikander <email@hidden>
- Date: Tue, 16 Sep 2014 16:19:10 -0400
I don't know of any features in Swift that would make it slower than C/C++. It's fully compiled, and statically typed. It's not doing Java-style garbage collection. In practice, it's still buggy and undocumented, with unhelpful compiler error messages. But as they improve that, the only problem I see is that I don't have syntax to get at the variable length struct (AudioBufferList) and I don't have a way to pass the raw C-like function pointers. They might fix this.
Things like the stronger typing and immutable locals might make it more optimizable than typical C code.
Rob
_______________________________________________
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