Life with Elixir/OTP -  Johnny Winn at DevconTLV 10
Channel: Raphael Fogel
Date: 2016-12-05

What if we could simulate life? What if we could watch the evolution of a million processes at once, with the strong surviving and passing on their traits?
It all starts with a population seed. Each organism (represented by a spawned process) will live, eat, breed, and eventually die. These organisms will live out their simple lives with a handful of modeled behaviors. Whatever happens in one generation affects all the future ones.
These complex worlds can easily unfold with the help of Elixir/OTP. In this talk, we will seed a population and then simulate the evolutionary process, while OTP Supervisors, Servers, and Events are utilized to manage the concurrent life processes. Essentially, we'll replicate the changing world in an OTP Petri dish. ¡Viva La Evolución!