3 ms·
Run it against the Win32 API and if you can show me a successful outcome then I'll be impressed.
by peterkelly 4y ago
Run it against the Win32 API and if you can show me a successful outcome then I'll be impressed.
- snozolli 4y agoMy first thought was, "let's see it figure out the Windows SetupAPI", which is probably the worst API I've ever seen.
- pedrovhb 4y agoConsidering it's a widely used API, there's probably enough in an LLM's training data for it to not even need much trial and error. I've recently done since Xlib stuff with ChatGPT and it was pretty helpful (and Xlib is __not__ a very nice API). On the other hand, I asked for some trivial examples of Nim macro syntax and it couldn't make something that compiled even after feeding back the compile error messages. If there's a private/obscure API you need to deal with that is the size and complexity and has the amount accumulated cruft that Win32 has, yeah, you're out of luck (but maybe should also be reconsidering the life decisions that got you to that point).
- joshka 4y agoTry giving working examples as input. I’d generally expect better results