Life with Elixir/OTP

DevconTLV X Conference, Tuesday, November 15, 2016, 11:00

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!

Johnny Winn

Johnny Winn

Elixir Evangelist/Host of the Elixir Fountain

Hashrocket

Host of@elixirfountain & co-organizer @elixirdaze.

Other Presentations at DevconTLV X

Open Accessibilty Menu