2 ms·
> the llms write pretty good zig I doubt this from my personal experience. Every week after a release, I see tweets complaining how AI wrote some depreciated c
by rirze 4mo ago
> the llms write pretty good zig
I doubt this from my personal experience. Every week after a release, I see tweets complaining how AI wrote some depreciated code because Zig is making breaking changes every release. (They are valid in doing so, it's just not AI friendly yet)
- dnautics 4mo agoclaude and codex are pretty quick to figure out "oh that's not a thing anymore" and figure out what they need to do? i did a 0.15 -> 0.16 port of this library and most of it the LLM did https://github.com/E-xyza/zigler https://github.com/E-xyza/zigler
- rirze 4mo agoI agree, when agents realize they're using old Zig semantics, they will adapt. Doesn't help the training sets that Zig changes frequently though.
- dnautics 4mo agonah. zig doesn't have weird macros/dsls and most zig authors are reasonably good about sticking to conventions. easiest thing to do is to put a "reminder here is changelog" in the agents file