~/talk

A Swarm of Processes — Simulating Ant Foraging Behavior...

Talkat EMPEX LA 2018 · on Saturday, 2018-02-10· [creative-coding]
slides:none on file

Simulation claims a full foraging colony using a separate OTP process per ant, with per-ant GenServer actors, a DynamicSupervisor + Registry via tuple naming scheme and 400 tiles as tile GenServers on a 20×20 grid. Each turn runs synchronously (about 6 ms per turn, UI updates every 50 ms), hundreds of ants coordinate via pheromone values on tiles, faults restart errant ants, and surprisingly overall runs faster when concurrency is reduced rather than maximized.

AI-written summary · about

  1. 0:00Start
  2. 5:32Ant System
  3. 6:44Inclining Optimization
  4. 10:41Data Types
  5. 10:56Define Our Humble Ant
  6. 14:29Supervision Tree
  7. 14:55Dynamic Supervisors
  8. 16:32Simulation Supervisors
  9. 21:30Fault Tolerance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.