Hacker News new | ask | show | jobs
by alariccole 3553 days ago
Great read on a topic I've been looking for more info on, recently coding an audio app that needs to manipulate audio buffers. And this is the only way to access them. I've been working in swift since 1.0 and this is the first time this all makes sense.
1 comments

It's one of the clearest articles I've read on the subject, too. I would have liked it if there had been a section on calling "malloc" and "free" directly from Swift though. I do that a few places in my audio app, and there are a few gotchas involved (eg: at least in Swift 1, shouldn't use "free" and "dealloc" interchangeably. Probably still the case).