r/Clojure • u/HanTitor • Aug 31 '25
Games Lisp for games?
I'm exploring Lisp family in games. Curiosity.
I knew Janet and like it. Good libraries but unmantained. Then, I understood that it is based in Clojure. Clojure syntax is great: simple, clean, clear. The homepage brainwashed me about multiplatform development. "VM are the future! Write one time and distribute in all parts!". Reality: not mobile support for JVM, developers using React Native or Dart (ClojureScript, ClojureDart). ðŸ˜
"Wait, really do you think to develop games with a Garbage Collector language?"
Cof cof... C#. The main gamedev language is a VM language. You won't have best support than for it.
Ideally, you need to manage the memory manually. It is the best case scenario.
I explored Common Lisp too, but all of persons say that is more "niche", and you should use CLOG (webview). Crosscompilling is not so good, apparently (or I would expect to see native apps without webview).
But I would like to hear comments and thinkings about it (game developing in lisp family). Remember, it is an exploration, I don't have much hope.
View all comments
Show parent comment
3
u/justinhj Sep 01 '25
I may be wrong but I think those Naughty Dog games compiled to a runtime that didn't do GC. There was a dsl called GOAL (or similar) that was written in lisp and acted as a compiler producing the game code.
That said for many games a GC runtime is not a blocker. Only games truly maxing out a limited memory size (console games) really have to worry about the overhead of GC in terms of memory size.