Smuggling Clojure into Statically Compiled Video Games with Silk
summary
Claim is that a Clojure dialect called Silk actually ships to Desktop, iOS, Android, Xbox, Nintendo and PlayStation by combining ClojureCLR, Lua and a new runtime plus a JIT-enabled bytecode compiler to produce static Unity IL2CPP binaries while still supporting eval defmacro and a live REPL. Demos show Silk running inside managed Doom (C#), injected as a jar mod into Project Zomboid (Java), and offloading planning via an Erlang OTP cluster to avoid 16ms frame drops; chaos mode networks all games together and works. Testing uses cross-host parity and a 4‑hour CI.
AI-written summary · about
chapters (28)
- 0:00All software aspires to video games
- 0:28A letter to Sebastian Thrun
- 1:29The demos: Silk x Doom
- 2:58How the Doom agent works
- 4:27Silk x Project Zomboid
- 8:52Silk x Factorio
- 12:20Chaos mode
- 14:01The chaos topology
- 15:08Introducing Silk
- 16:46The road from Prolog to Silk
- 18:00The three pillars
- 20:40The compilation pipeline
- 21:54Supported hosts
- 22:37Six modes of integration
- 23:00Three compilation binding times
- 23:26Testing
- 24:33Five questions
- 27:431. How do I get my code into the game?
- 30:282. O god, what have I done?
- 31:323. How do I stop the bleeding?
- 31:484. What was even the point? A interacts with B
- 34:22The Angel's Sandwich
- 36:07Erlang inverts the sandwich
- 37:06Actors, OTP and supervision trees
- 38:22Unity talks to Silk over ports
- 39:07New methods of storytelling
- 39:27Learn Prolog
- 40:09Clojure is a love language
