logoalt Hacker News

reactordevyesterday at 11:47 AM2 repliesview on HN

I beg to differ. My agent just one-shotted a MicrophoneBufferManager in swift when asked.

Complete with AVFoundation and a tap for the audio buffer.

It really is trivial.


Replies

Anonbrityesterday at 1:46 PM

Any chance of pushing it to GitHub? My swift knowledge could be written out on an oversized beer coaster currently, so I'm still collecting useful snippets

show 1 reply
hirvi74yesterday at 5:44 PM

I've also had great results with using LLMs to pry into Apple's private and undocumented APIs. I've been impressed with the lack of hallucinations for C/C++ and Obj-C functions.

I can attest that the quality in this domain has greatly improved over the years too. I am not always fan of the quality of the Swift code that my LLM produces, but I am impressed that what is often produced works in one shot, as well. The quality also is not that important to me because I can just refactor the logic myself, and often prefer to do it anyway. I cannot hold an LLM to any idiosyncrasies that I do not share with it.

show 1 reply