3 ms·
You wouldn't be the first person to eventually conclude that C is just a very fancy macro assembler. But AI generated code is much like every other generated c
by jacquesm 1mo ago
You wouldn't be the first person to eventually conclude that C is just a very fancy macro assembler.
But AI generated code is much like every other generated code: it is more voluminous and rather less elegant than what you'd write as a person. And here too there is a link with assembly: early compilers routinely put out absolutely terrible assembly by assembly programmers' standards of the day. And then they got better. To the point that today it takes some pretty rare niches that it pays off to break out the assembler and roll your own.
I expect AI generated code to develop in the same way, and the way to get them to improve is to hold generated code to high standards. The problem is the perverse incentive: generated code of low quality will eventually result in many more tokens burned than a one-shot piece of perfect and elegant code. Here you can draw a link with medicine...