Introduction: Evolution Meets AI
Genetic algorithms (GAs) are optimization techniques inspired by Charles Darwin's theory of natural selection. Instead of computing an exact solution, GAs evolve a population of candidate solutions over successive generations, guided by a fitness function. When combined with Large Language Models, this creates a powerful framework for automated software engineering: the GA evolves prompts and specifications, the LLM converts them to code, and a fitness function measures quality.