Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Java virtual machine
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Transpilation to JavaScript=== With the continuing improvements in JavaScript execution speed, combined with the increased use of mobile devices whose web browsers do not implement support for plugins, there are efforts to target those users through [[Transpile|transpilation]] to JavaScript. It is possible to either transpile the source code or JVM bytecode to JavaScript. Compiling the JVM bytecode, which is universal across JVM languages, allows building upon the language's existing compiler to bytecode. The main JVM bytecode to JavaScript transpilers are TeaVM,<ref>{{cite web |url = http://teavm.org/ |title = TeaVM project home page |publisher = Teavm.org |access-date = 2015-06-26 |archive-date = 2015-06-27 |archive-url = https://web.archive.org/web/20150627045343/http://teavm.org/ |url-status = live }}</ref> the compiler contained in Dragome Web SDK,<ref>{{cite web |url = http://www.dragome.com/ |title = Dragome Web SDK |publisher = Dragome.com |access-date = 2015-06-26 |archive-date = 2015-08-01 |archive-url = https://web.archive.org/web/20150801074231/http://dragome.com/ |url-status = live }}</ref> Bck2Brwsr,<ref>{{cite web |url = http://wiki.apidesign.org/wiki/Bck2Brwsr |title = Bck2Brwsr - APIDesign |publisher = Wiki.apidesign.org |access-date = 2015-06-26 |archive-date = 2015-06-27 |archive-url = https://web.archive.org/web/20150627062724/http://wiki.apidesign.org/wiki/Bck2Brwsr |url-status = live }}</ref> and j2js-compiler.<ref>Wolfgang Kuehn (decatur). [https://github.com/decatur/j2js-compiler j2js-compiler] {{Webarchive|url=https://web.archive.org/web/20130929131436/https://github.com/decatur/j2js-compiler |date=2013-09-29 }} GitHub</ref> Leading transpilers from JVM languages to JavaScript include the Java-to-JavaScript transpiler contained in [[Google Web Toolkit]], Clojurescript (Clojure), GrooScript (Apache Groovy), Scala.js (Scala) and others.<ref>{{cite web |url = https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js |title = List of languages that compile to JS Β· jashkenas/coffeescript Wiki Β· GitHub |publisher = Github.com |date = 2015-06-19 |access-date = 2015-06-26 |archive-date = 2020-01-31 |archive-url = https://web.archive.org/web/20200131233044/https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS |url-status = live }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)