"AI has largely solved code generation."
Code generation itself isn't new.
Tools like Simulink have been generating C/C++ code for decades. What AI has changed is the flexibility and scope of code generation.
The key difference is that Simulink generates deterministic code from a formal model, whereas AI generates probabilistic code from natural language prompts. Both have their strengths, but they're fundamentally different approaches.