The silly example is writing a line of Python to count the Rs in strawberry, but people have moved on from that. I saw a video where the guy pointed out they're getting better at chess, but not great yet. If he had asked it write a chess engine (or if it had chosen to do that on its own), the model would be amazing at chess.
Lean is showing the potential for using code in the math domain. We have more trust in the compiler than we do the models. What are other non-programming areas where we could have "compilers" for the model?
Even if we restrict it to code, I'd rather the model did some trial and error experiments on the side (possibly with a sub-agent) than read pages of its thinking process where it keeps second guessing itself to make zero errors on the first try.
If I ask a model to generate an SFX sound file for the noise of falling rain for instance and it just genAI a WAV file, I don't really have any simple way to tweak it without iterating with the model itself. On the other hand if it generates a python script that procedurally generates the sound of falling rain, I have something that I can learn from and tweak myself afterwards. It's a lot less opaque and more deterministic.
Pure genAI is good for "vibecode" style development where you only monitor high-level outputs and don't care how the sausage is made, procgen is a lot better if you want to control and understand everything.
Not quite the same, but I did a technical drawing where I had the model vibe code a 3D line/box tool for an illustration. The code made sure the proportions were correct, and I could orbit/zoom the camera around it to get the view I wanted. Then I screen captured that and fed it to an image model to make it look like a pencil drawing. Correct picture, attractive appearance, lots of flexibility, easy for me and the model to get right.
Imagine if AIs design had evolved differently, and models had been trained to externalise their reasoning as code from the get-go. Then someone added a way to speed up them up by writing some of the reasoning into context. Mightn't we also judge that as a "hack" to work around the limits of external storage?
It’s cool that models can do this, but I think it also shows harnesses still have significant weaknesses around long term memory and context, necessitating models use what is essentially a code-as-long-term-memory hack.