fn and Games with Arcadia
summary
Arcadia integrates Clojure into Unity so developers write game logic in Clojure while Unity handles rendering and particles, with a Pastoral (Re-frame port) used to build a fully functional Texas Hold’em prototype that runs mostly under 60 FPS but drops to ~15 FPS during heavy event dispatch. A custom compiler called Magic aims to eliminate incidental allocations caused by interop, and Arcadia’s hybrid model uses defmutable/defrole roles to snapshot mutable Unity objects into Clojure data.
AI-written summary · about
chapters (9)
- 0:00Introduction to talk
- 3:52Why functional games
- 11:17Game performance basics
- 16:13Closure performance challenges
- 23:54Fully functional poker game
- 33:47Hybrid approach in tube shooter
- 42:18Trade-offs in arcadia
- 46:05Future compiler work
- 49:11Closing and Q&A
related talks
38mGames and 3D Graphics in Arcadia
35mGame Development Development
38mMaking Games at Runtime with Clojure
40mFun with Functional Programming in Clojure
09mGame Development in Clojure
40mSymbolic Assembly: Using Clojure to Meta-program Bytecode
41mFunctional Game Engine Design for the Web
34mPanel with Paula Gearon and Eric Normand
