Writing code? Pfft... Evolve it instead!
summary
Shows code generation by genetic algorithms that evolve programs in an 8-character Turing-complete language (brainf). Random populations undergo crossover, insertion, deletion and replacement mutations, with roulette selection to avoid local minima. Fitness scores come from program output so invalid programs, infinite loops and finite-tape errors get low scores; solutions reach short words quickly but longer targets stall until mutation scope expands. Source code and demos are on GitHub.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 1:04Evolution of human work
- 3:51AI replacing skilled jobs
- 5:19Genetic algorithms explained
- 8:29Evolving text strings
- 9:35Challenges evolving code
- 10:43Turing completeness explained
- 11:47Brainfuck language choice
- 13:15Evolving Brainfuck programs
- 15:41Optimizing evolved code
- 16:23Other approaches to code evolution
- 16:45Demo and GitHub resources
- 17:05Q&A session
