List of JVM languages
This list of JVM Languages comprises notable computer programming languages that are used to produce computer software that runs on the Java virtual machine (JVM). Some of these languages are interpreted by a Java program, and some are compiled to Java bytecode and just-in-time (JIT) compiled during execution as regular Java programs to improve performance.
The JVM was initially designed to support only the language Java. However, over time, ever more languages were adapted or designed to run on the Java platform.
JVM languages
High-profile languages
As of February 2023, according to the TIOBE index[1] of the top 100 programming languages, and PyPL, the top JVM languages are:
- Java (#4, at one point at #1; #2 at PyPL), a statically-typed object-oriented language
- Kotlin (#18, at one point at #27; #13 at PyPL), a statically-typed language from JetBrains, the developers of IntelliJ IDEA[2] and Google's preferred language for Android
- Scala (#38, at one point at #20; #19 at PyPL), a statically-typed object-oriented and functional programming language[3]
- Groovy (no longer in top 50, is one of 51–100; #24 at PyPL), a dynamic programming language (also with static typing) and scripting language[2]
- Clojure (no longer in top 50, is one of 51–100, at one point at #47), a dynamic, and functional dialect of the Lisp programming language[2] (ClojureScript doesn't make TIOBE's index separately, and it's an implementation targeting the web with JavaScript, not the JVM.)
Python is TIOBE's top language; Jython, its JVM implementation, doesn't make the list (of 100 languages) under that name (is syntax compatible with Python 2.7, now an outdated Python version). JavaScript (7th), PHP, R and others, also make top 20 and have JVM implementations; Ruby is ranked 16th, while JRuby, its JVM implementation is listed separately.
JVM implementations of existing languages
Language | JVM implementations |
---|---|
Go | jgo |
Arden Syntax | Arden2ByteCode |
COBOL | NTT Data Enterprise COBOL[4] Micro Focus Visual COBOL[5] |
ColdFusion Markup Language (CFML) | Adobe ColdFusion Railo Lucee Open BlueDragon |
Common Lisp | Armed Bear Common Lisp[7] |
Cypher | Neo4j[8] |
Haskell | Eta (programming language) |
JavaScript | Rhino Nashorn |
LLVM Bitcode | Sulong[10] |
Mercury | Mercury (Java grade) |
OCaml | OCaml-Java |
Component Pascal | Gardens Point Component Pascal |
Pascal | MIDletPascal Oxygene |
Raku | Rakudo |
PHP | Quercus[11][12] JPHP |
Prolog | JIProlog TuProlog |
Python | Jython
ZipPy[13] Graal.Python[9] |
R | Renjin
FastR[14] |
Rexx | NetRexx |
Ruby | JRuby TruffleRuby[15] |
Scheme | Bigloo Kawa SISC JScheme |
Simula | Open Source Simula |
Smalltalk | Redline[16] |
Standard ML | MLj |
Tcl | Jacl |
Visual Basic | Jabaco[note 1] |
New languages with JVM implementations
- Ateji PX, an extension of Java for easy parallel programming on multicore, GPU, Grid and Cloud[21]
- Ballerina, a language for cloud applications with structural typing; network client objects, services, resource functions, and listeners; parallel concurrency with workers; image building; configuration management; and taint checking.[22]
- BeanShell, a scripting language whose syntax is close to Java
- EPL (Event Processing Language), a domain-specific, data manipulation language for analyzing and detecting patterns in timed event streams, which extends SQL 92 with event-oriented features. It is implemented by Esper: up to version 6 EPL was mostly a language interpreted by a Java library; since version 7 it is compiled to JVM bytecode.
- Concurnas, an open source JVM language designed for building reliable, scalable, high performance concurrent, distributed and parallel systems.
- Ceylon, a Java competitor from Red Hat[2]
- CFML, ColdFusion Markup Language, more commonly known as CFML, is a scripting language for web development that runs on the JVM, the .NET framework, and Google App Engine.[23]
- Quark Framework (CAL), a Haskell-inspired functional language
- E-on-Java, object-oriented language for secure distributed computing
- Eta, pure, lazy, strongly typed functional language in the spirit of Haskell[24]
- Fantom, a language built from the base to be portable across the JVM, .NET Common Language Runtime (CLR), and JavaScript[25][2]
- Flix, a functional, imperative, and logic language with first-class Datalog constraints and a polymorphic effect system.
- Flow Java
- Fortress, a language designed by Sun as a successor to Fortran, mainly for parallel scientific computing. Product development was taken over by Oracle when Sun was purchased. Oracle then stopped development in 2012 according to Dr. Dobb's.
- Frege, a non-strict, pure functional language in the spirit of Haskell[26]
- Golo, a simple, dynamic, weakly-typed language for the JVM developed at Institut national des sciences appliquées de Lyon, France, now an incubating project at the Eclipse Software Foundation.[27][28][29]
- Gosu, an extensible type-system language compiled to Java bytecode
- Haxe, a cross-platform statically typed language that targets Java and the JVM.
- Ioke, a prototype-based language somewhat reminiscent of Io, with similarities to Ruby, Lisp, and Smalltalk
- Jelly
- Join Java, a language that extends Java with join-calculus semantics
- Joy
- Judoscript
- Mirah, a customizable language featuring type inference and a highly Ruby-inspired syntax[30][31]
- NetLogo, a multi-agent language
- Noop, a language built with testability as a major focus
- Pizza, a superset of Java with function pointers and algebraic data types
- Pnuts
- Processing, a visualization and animation language and framework based on Java with a Java-like syntax
- Prompto, a language "designed to create business applications in the cloud". It is part of the namesake platform to design business applications directly in the cloud. The Prompto language includes three "dialects": Engly, Monty, and Objy. Engly "mimics English as much as possible", Monty "tries to follow as much as possible the syntax of the Python 3 language", and Objy "tries to follow as much as possible the syntax of OOP languages such as C++, Java or C#". All three dialects seamlessly translate to one another.[32]
- RascalMPL, a source and target language independent (parameterized) meta language
- Whiley
- X10, a language designed by IBM, featuring constrained types and a focus on concurrency and distribution[2]
- Xtend, an object-oriented, functional, and imperative programming language built by the Eclipse foundation, featuring tight Java interoperability, with a focus on extension methods and lambdas, and rich tooling
- Yeti, an ML style functional language[33]
- Yirgacheffe, a language that aims to simplify and extend the object oriented paradigm.[34]
- Yoix, general purpose, non-object-oriented, interpreted dynamic language
See also
- Da Vinci Machine
- Java virtual machine § JVM languages
- List of CLI languages, following the CLI specification, Microsoft's response to JVM
Notes
References
- "TIOBE Index". TIOBE. Retrieved 23 February 2023.
- Urma, Raoul-Gabriel (1 July 2014). "Alternative Languages for the JVM. A look at eight features from eight JVM languages". Oracle. Retrieved 13 March 2019.
- Wampler, Dean (15 January 2009). "Adopting New JVM Languages in the Enterprise (Updated)". objectmentor.com. Archived from the original on 22 May 2009. Retrieved 18 June 2009.
- "NTT Data Enterprise COBOL Brochure" (PDF).
- "Visual COBOL Brochure" (PDF). Retrieved 5 April 2017.
- "isCOBOL Evolve Datasheet" (PDF). Retrieved 17 May 2019.
- Armed Bear Common Lisp
- "New on Neo4j: The Neo4j 2.3.0 Milestone 2 Release Is Here". 12 June 2015. Retrieved 20 February 2017.
- "Oracle Labs GraalVM: Programming Languages and Runtimes Overview". www.oracle.com. Retrieved 12 April 2018.
- "graalvm/sulong". GitHub. Retrieved 12 April 2018.
- "Introducing Quercus, a Java based PHP". IBM. Retrieved 2 July 2015.
- "Running PHP With Quercus in Sun Java System Web Server". Retrieved 2 July 2015.
- "ssllab / ZipPy — Bitbucket". bitbucket.org. Retrieved 12 April 2018.
- "oracle/fastr". GitHub. Retrieved 12 April 2018.
- "oracle/truffleruby". GitHub. Retrieved 12 April 2018.
- "Redline Smalltalk". Archived from the original on 24 March 2021. Retrieved 2 September 2018.
- "Jabaco entry at Mindteq.com Basics section". Retrieved 2 July 2015.]
- "Article about Jabaco at German Pro-Linux publication". Retrieved 2 July 2015.]
- "Basic meet Java". Retrieved 26 February 2015.
- "Framework". Retrieved 26 February 2015.
- "Ateji PX: Java Parallel Programming Made Simple". Ateji. Archived from the original on 24 February 2014. Retrieved 1 March 2014.
- "Announcing Ballerina 1.0". Ballerina. Retrieved 8 February 2020.
- CFML, a scripting language compiled to Java, used on the ColdFusion or Railo application servers
- "The Eta Programming Language". Retrieved 10 May 2017.
- "Fantom Programming Language". Fantom. Retrieved 1 March 2014.
- "Frege". Retrieved 1 March 2014.
- "Oracle.com - Golo – A Lightweight Dynamic Language for the JVM". Archived from the original on 3 July 2015. Retrieved 2 July 2015.]
- "Golo nominated for JAX Awards 2014". Retrieved 2 July 2015.]
- "Golo entry at JAX Awards 2014". Retrieved 2 July 2015.]
- "The Mirah Programming Language". GitHub. Retrieved 1 March 2014.
- "Mirah". Retrieved 1 March 2014.
- "The Prompto Platform". Retrieved 14 September 2019.
- "Yeti programming language". Retrieved 5 May 2020.
- "Yirgacheffe". Retrieved 9 January 2020.