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
[edit]High-profile languages
[edit]As of 2024, according to the TIOBE index[1] of the top 100 programming languages, and PyPL,[2] the top JVM languages are:
- Java (#4, at one point at #1; #2 at PyPL), a statically-typed object-oriented language
- Kotlin (#18; #13 at PyPL), a statically-typed language from JetBrains, the developers of IntelliJ IDEA[3] and Google's preferred language for Android
- Scala (#36, at one point at #20; #21 at PyPL), a statically-typed object-oriented and functional programming language[4]
- Groovy (no longer in top 50, is one of 51–100, at one point at #15; #25 at PyPL), a dynamic programming language (also with static typing) and scripting language[3][5]
- 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[3] (ClojureScript doesn't make TIOBE's index separately, its stats are included under Clojure, and it's an implementation targeting the web with JavaScript, not the JVM.)
- ByteSkript programming language designed for beginners that turns simple, readable code into an efficient and safe program for the JVM. (It is a Skript-like language)
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 (6th), PHP, R and others, also make top 20 and have JVM implementations; Ruby is ranked 18th, while JRuby, its JVM implementation is not listed separately.
JVM implementations of existing languages
[edit]Language | JVM implementations |
---|---|
Go | jgo |
Arden syntax | Arden2ByteCode |
COBOL | NTT Data Enterprise COBOL[6] Micro Focus Visual COBOL[7] |
ColdFusion Markup Language (CFML) | Adobe ColdFusion Railo Lucee Open BlueDragon |
Common Lisp | Armed Bear Common Lisp[9] |
Cypher | Neo4j[10] |
Haskell | Eta (programming language) |
JavaScript | Rhino Nashorn |
LLVM Bitcode | Sulong[12] |
Mercury | Mercury (Java grade) |
OCaml | OCaml-Java |
Component Pascal | Gardens Point Component Pascal |
Pascal | MIDletPascal Oxygene |
Raku | Rakudo |
PHP | Quercus[13][14] JPHP |
Prolog | JIProlog TuProlog |
Python | Jython
ZipPy[15] Graal.Python[11] |
R | Renjin
FastR[16] |
Rexx | NetRexx |
Ruby | JRuby TruffleRuby[17] |
Scheme | Bigloo Kawa SISC JScheme |
Simula | Open Source Simula |
Smalltalk | Redline[18] |
Standard ML | MLj |
Tcl | Jacl |
Visual Basic | Jabaco[note 1] |
New languages with JVM implementations
[edit]- Ateji PX, an extension of Java for easy parallel programming on multicore, GPU, Grid and Cloud[23]
- 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.[24]
- 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[3]
- 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.[25]
- 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[26]
- Fantom, a language built from the base to be portable across the JVM, .NET Common Language Runtime (CLR), and JavaScript[27][3]
- 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[28]
- 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.[29][30][31]
- 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
- Manifold is a Java compiler "plugin." (I.e., instead of being a stand-alone language and compiler, it hijacks and extends javac.) Its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
- Mirah, a customizable language featuring type inference and a highly Ruby-inspired syntax[32][33]
- 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.[34]
- 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[3]
- 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[35]
- Yirgacheffe, a language that aims to simplify and extend the object oriented paradigm.[36]
- Yoix, general purpose, non-object-oriented, interpreted dynamic language
Comparison of these languages
[edit]Language | First release | Stable release | Last release |
---|---|---|---|
Ballerina | 2018 | 2019 | 2024 |
BeanShell | 1999 | 2013 | 2022 |
Eclipse Ceylon | 2011 | 2017 | 2017 |
CFML | 1995 | 2018 | 2018 |
E | 1997 | 2016 | |
Fantom | 2011 | 2017 | 2024 |
Fortress | 2006 | 2011 | 2011 |
Frege | 2012 | 2018 | |
Manifold | 2019 | 2019 | 2023 |
Mirah | 2016 | 2016 | |
Xtend | 2011 | 2021 | 2024 |
See also
[edit]- Da Vinci Machine
- Java virtual machine § JVM languages
- List of CLI languages, following the CLI specification, Microsoft's response to JVM
Notes
[edit]References
[edit]- ^ "TIOBE Index". TIOBE. Retrieved 16 March 2023.
- ^ "PYPL PopularitY of Programming Language index". pypl.github.io. Retrieved 19 March 2024.
- ^ a b c d e f 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.
- ^ "Groovy Springs Back Up TIOBE's Programming Languages List". Retrieved 10 March 2021.
- ^ "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.
- ^ a b "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.
- ^ "Flexible, Powerful, Beautiful Integrations as Code with Ballerina". Ballerina. Retrieved 28 September 2024.
- ^ 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.