▲ | chrisjharris 4 hours ago | |
I've been wondering about this for some time. My initial assumption was that would be that LLMs will ultimately be the death of typed languages, because type systems are there to help programmers not make obvious mistakes, and near-perfect LLMs would almost never make obvious mistakes. So in a world of near-perfect LLMs, a type system is just adding pointless overhead. In this current world of quite imperfect LLMs, I agree with the OP, though. I also wonder whether, even if LLMs improve, we will be able to use type systems not exactly for their original purpose but more as a way of establishing that the generated code is really doing what we want it to, something similar to formal verification. | ||
▲ | ImprobableTruth 3 hours ago | parent [-] | |
Even near-perfect LLMs would benefit from the compiler optimizations that types allow. However perfect LLMs would just replace compilers and programming languages above assembly completely. |