3 ms·
Considering 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 Xli
by pedrovhb 4y ago
Considering 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