AlphaCode has here demonstrated the ability to come with a solution to a “component”. Is the next step to try and get it to recognise what components are needed? And optimise?
If you can do that then you will be in a position to ask an AI to write a program.
The optimist in me says can this be done with other languages (yes) and can one get away from the abstraction penalty for readily human readable language? (Yes).
The pessimist in me says that speccing a problem is half the battle; code tends to “write itself” if one knows what wants to do already.
Star Trek TNG computers might not be that far away. That that is possible is amazing. Who controls the capability is another matter…