Fork me on GitHub
#clojure-gamedev
<
2018-04-23
>
Garrett Hopper02:04:43

So is anyone actively using Clojure for game development in here? Perhaps lwjgl or libgdx directly?

the2bears03:04:08

@ghopper not quite sure I understood your need for multi-threading re:REPL and the game. My Clojure games run in the main loop (a single thread) but I use a REPL to access it, change things, inspect, etc. while the game runs.

the2bears03:04:45

Certainly a separate thread, but I didn't have to do anything special other than launch a REPL in emacs and connect to that. Start the main in the REPL etc. Now, connecting to the game outside of emacs (or IDE) wouldn't be much different - just include whatever REPL you want in your code and the REPL library will handle the threading for you.