Kory Becker writes about artificial intelligence, genetic programming, quantum computing, and software development, often with working code.
HN commenters link his posts on self-modifying programs and genetic algorithms writing brainfuck, though one says the model is too simplistic.
Ahh yes, this is very interesting although I agree with many of the posters here that the model is probably too simplistic even for demo purposes.
For programmers there are even more striking examples of AI out there, complete with code, documentation and explanations.
Check this out:
http://www.primaryobjects.com/2013/01/27/using-artificial-intelligence-to-write-self-modifying-improving-programs/
In me this sparked a months long fascination with genetic algorithms solving programming puzzles with a few sets of 'initial memory states' and 'desired memory states'.
The articles start with very simplistic generated programs, and end with a sophisticated model able to generate guess-the-number games using loops, conditionals and handling input from users.
Have you seen this project yet? I only thought of this link while reading the last part of your sentence (the AI writes a program with very similar output).
Self-Programming Artificial Intelligence Learns to Use Functions
http://www.primaryobjects.com/CMS/Article163
There is actually a pretty good blog post series that creates a hello world in brainfuck with genetic algorithms: https://www.primaryobjects.com/2013/03/04/pushing-the-limits-of-self-programming-artificial-intelligence/
https://arxiv.org/abs/1709.05703 is the best one which is explained in these blog posts http://www.primaryobjects.com/2013/01/27/using-artificial-intelligence-to-write-self-modifying-improving-programs/
https://primaryobjects.com
My blog about artificial intelligence, quantum computing, and software development topics.
I also post frequently on Medium as well.
https://medium.com/@KoryBecker
goo.gl/aD67C -> http://www.primaryobjects.com/CMS/Article149.aspx
> Advantages of Brainf-ck as an AI Programming Language