| ▲ | pmarreck 4 hours ago | |
I've been coding in Zig for nearly 2 months straight now. Or should I say, I've not written a single line of Zig because I've been managing AI's coding in Zig. Turns out Zig is a fantastic language to "centaur" on. (Reference is to "centaur chess" and which is also sort of becoming a term indicating close code design cooperation with an LLM.) All of that C code that the LLM trained on ends up helping it work out algorithms in Zig, except that Zig has waaaay more safety guarantees and checks. And is often faster compiled code than the equivalent C, which is astonishing. | ||
| ▲ | cies 2 hours ago | parent [-] | |
I like that I can easily smell bad Zig by looking at it, but I'm notoriously bad at smelling bad C. | ||