4 ms·
You can easily write games in Lisp. Since you write for the JVM, you may want to look at Clojure (http://clojure.org/ http://clojure.org/), since it runs on th
by icosahedron 18y ago
You can easily write games in Lisp. Since you write for the JVM, you may want to look at Clojure (http://clojure.org/ http://clojure.org/), since it runs on the JVM and gives you access to the libraries you've already been using.
There are also ABCL (Common Lisp) and SISC (Scheme) if you want something standard that still runs on the JVM.
- flatline 18y agoI like what I've seen of clojure so far, and have written a couple small programs in it for fun, with an eye towards game programming. Plusses: -JVM at your disposal -STM for concurrency (haven't used this much yet but what it offers is nice) -built-in collection types like you'd see in perl, js, python, etc., which is a much nicer syntax over the more traditional lisp dialects for those of us who aren't hard core lisp programmers. -nice emacs/slime integration - REPL for debugging, etc. Minuses: -The language is still being actively developed and while most of the core features are there, there are some things that I've found missing and some things that are still changing (have had trouble with the project/module/package heirarchy a bit, would like metadata on anonymous functions). -Debugging can be tricky, stuff will come up from the JVM without an associated line number in the clojure code, though I've seen a patch for this online -Complexity added by the plusses. The java interop has a lot of power but it takes some getting used to. I also came into this with no recent java experience so YMMV. -No native OO syntax, and I didn't want to write a hybrid of java/clojure code. Still, it has structs, and the idea (I think) is to use closures as the "glue" rather than objects.
- icey 18y agoIf you're going to use the code tag, please be kind enough to wrap your sentences.
- markokocic 18y agoOne cannot expect that a language that young as clojure is mature and stable. Of course it changes, and it is a good thing thah all the changes are discussed in the mailing lists in advance.
- flatline 18y agoYeah, I actually like the fact that it's changing, because it's improving and it's interesting to watch a new language evolve in useful ways. And the communication level on changes is very high. Just something to be aware of if you're starting out...