¡Viva La Evolución! Replicating Life with OTP by Johnny Winn
Slides and more info: http://www.erlang-factory.com/euc2016/johnny-winn
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!
Show OTP in action to replicate evolution in organisms and display those “living” organisms in a browser using elm.
Anyone interested in process management, OTP, elm, and of course genetics.