Clojure in Unity 3D: Functional Video Game Development
summary
An open-source Clojure runtime is grafted into Unity 3D so Clojure runs inside the Unity editor and exports with the engine; a REPL lets code mutate the scene graph live. Integration uses a forked Clojure CLR, a hacked def-component form to emit Unity subclasses, and a generated hydrate/dehydrate API to turn persistent maps into game objects. Demos show procedural terrain, boids and spline trails; performance and GC are acceptable but the build is pre-alpha, fragile, and relies on several Unity/CLR workarounds.
AI-written summary · about
chapters (8)
- 0:00Start
- 3:16Game Development Sucks
- 4:31Graphics, physics, ECS, audio, ecosystem, editor, deployment
- 42:40Components
- 43:02API Wrappers
- 43:40Snapshotting
- 44:16Logic driven design
- 45:28Procedural meshes
related talks
38mMaking Games at Runtime with Clojure
38mCreative Clojure
47mA Functional Developer in the World of Games
30mMaking video games and learning Clojure
25mExploring the Universal Library
52mUnity: make development fun again!
34mQuil and Field: Using Clojure for Algorithmic Digital Art
41mGeoRepl - Interactive Geometry with Clojure
