| ▲ | audunw 2 hours ago | |
Ironically (considering Andrew’s negative attitude to LLMs), I think Zig will be great for AIs once the language is stable. LLMs will probably keep getting faster, meaning the compiler might be holding the LLM back. Zigs focus on blazing fast compilation speeds and hot swapping could become a big advantage. I think Rusts borrow checker will become a mistake. The right solution is to be able to plug into the compiler and add all kinds of static analysis depending on your needs. There is already a project to add memory lifetime checking which is more powerful than Rust in Zig. Limiting us to checking what can be declared in a function/type signature is a mistake. The LLM can probably reliably figure out which kinds of static analysis needs to be done for a particular commit. I think the focus Zig has on having a straightforward and explicit mapping from the code you see to the results/instructions you get can be an advantage for LLMs too. Should be said he had a recent shift in stance w.r.t. LLM driven testing | ||