4 ms·
There's a list of over 80 languages for the JVM at (http://en.wikipedia.org/wiki/List_of_JVM_languages http://en.wikipedia.org/wiki/List_of_JVM_languages). I do
by vorg 14y ago
There's a list of over 80 languages for the JVM at (http://en.wikipedia.org/wiki/List_of_JVM_languages http://en.wikipedia.org/wiki/List_of_JVM_languages). I don't think you can really recommend any. The article says:
Apart from the Java language itself, the most common or well-known JVM languages are:
Clojure, a functional Lisp dialect
Groovy, a scripting language
Scala, an object-oriented and functional programming language[1]
Kotlin, statically typed programming language compiled to JVM byte code and JavaScript by Jetbrains
Ceylon, an upcoming programming language and SDK, created by Red Hat
JavaFX Script, a scripting language targeting the Rich Internet Application domain (discontinued 2010)
JRuby, an implementation of Ruby
Jython, an implementation of Python
Rhino, an implementation of JavaScript
AspectJ, an aspect-oriented extension of Java
I would add Gosu, Fortress/JVM, and Beanshell as important. Others were talked about at the recent JVM Language Summit (http://openjdk.java.net/projects/mlvm/jvmlangsummit/agenda.html http://openjdk.java.net/projects/mlvm/jvmlangsummit/agenda.h...).
- riffraff 14y agoI'd argue the "Processing" dialect is more important than some of these.
- jdbernard 14y agoHave you used any of these languages? The Wikipedia list is overly simple at best. The common thing that these all share is easy access to the world of Java code, much of which is very well written. The Java standard libraries are well-written and well-documented. There are plenty of high quality open source projects covering almost anything you need. I am most familiar with Groovy and it is much more than a simple scripting language. It spans the continuum from scripting to full-on enterprise-level stuff. It adds all of the functional features we love to Java, language support for maps, makes it easy to create DSLs for specific purposes, etc. I do not know nearly as much about the other languages, but almost all of these are in production use. I would recommend many of them.
- pnathan 14y agoScala and Clojure seem to have gotten a definite traction. Just from reputation alone, I'd choose Clojure for a JVM greenfield project if I was asked to do such a project.