Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am working with a new for me tech, and got stuck integrating an SDK from a hardware manufacturer into my runtime. The SDK is in C, and my runtime isn’t.

A friend suggested to use his LLM wrangling skills to get the SDK adapted. The results were interesting, but we wasted a day or two on trying to make it actually work and failed.

Then it turned out I can call C code from within my runtime, which the LLM did not point out. I figured out the specifics with a bit of googling and successfully managed to call C functions. Yet there were still issues in parsing the data, now in C SDK itself; the friend used different LLMs to refactor and comment C code, but they did a bad job with missing implementations and a lot of general obvious comments (an empty deinitialization function with “clean up as needed” comment and so on).

Then it turned out there was an SDK for my runtime. I just did not search enough. Of course, the LLM would not say that. The LLM would just obediently try to do what it’s asked to do and never question why.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: