Genetic Algorithms for Automated Source Code Evolution: a C++11 tutorial

Genetic algorithms: a C++ tutorial

Join me in some recreational C++ programming. Our project is to make a genetic algorithm that will evolve the source code for a program that, when run, will compute and output the solution to something. Our target source language is a tiny language called Iota, made specially for this purpose. We’ll also talk about how our simulated evolution compares with natural biology. All you need is a C++11-compliant compiler, and the iota-machine.h header file that you can download from link below. If that sounds at all interesting, then let’s hack up some code…

Video link –>

Download materials for Windows (.zip format, DOS line endings):

Download materials for everybody else (.tar.gz format):




One response to “Genetic Algorithms for Automated Source Code Evolution: a C++11 tutorial”

  1. I am regular reader, how are you everybody? This paragraph posted at this website is
    genuinely nice.