It’s An Evolution: Recreating Life With Elixir Processes
summary
Simulates a seeded population of up to a million concurrent processes using Elixir/OTP and a Petri-dish model: food generator, dynamic supervisors for transient food and organism processes, and LiveView for visualization. Movement uses a simple nearest-neighbor linear search with stepwise trajectories, collision-radius checks and a pared-down fitness rule (stamina/strength preference). Reproduction spawns child processes; runs sometimes explode into diverse populations and sometimes collapse to one dominant type, so the system works but is nondeterministic.
AI-written summary · about
chapters (25)
- 0:00Intro
- 1:30Agenda
- 2:07The Experiment
- 3:10Why Genetics
- 4:17My Kids
- 6:25The Project
- 6:54Food Delivery
- 8:35Nearest Neighbor
- 9:37Fitness
- 11:08Distance Algorithm
- 13:09Speed
- 13:40First Step
- 15:10Collision Detection
- 15:42Distance Calculation
- 16:31Walls
- 19:05Application
- 19:52Petri Dish
- 21:29Food Generator
- 22:17Food
- 22:43Generator
- 23:22Bounce
- 23:45Live View
- 24:12Seed Data
- 28:38My Grandfather
- 29:20Question Time
related talks
42mThe Soul of Erlang and Elixir
01h 01mThe Erlang Ecosystem
31mAn Elixir View on Processes: (...) to Cluster Discovery
41mIdioms for building fault-tolerant applications with Elixir
52mKeynote: Pilgrim's Progress to the Promised Land
53mIdioms for Building Distributed Fault-tolerant Applications with Elixir
12mObject Oriented Thinking with Elixir and OTP
30mHashiCorp's Game of Life
