Nashorn (JavaScript engine): Difference between revisions

Content deleted Content added
Fc07 (talk | contribs)
m make statement on "graalvm replacement" more accurate, by referring to GraalJS specifically (https://github.com/oracle/graaljs)
Monkbot (talk | contribs)
m Task 18 (cosmetic): eval 12 templates: hyphenate params (12×);
Line 25:
| first=James
| publisher=[[Oracle Corporation]]
| accessdateaccess-date=2011-07-24
| archive-url=https://web.archive.org/web/20160603132421/http://wiki.jvmlangsummit.com/images/c/ce/Nashorn.pdf
| archive-date=2016-06-03
| url-status=dead
}}</ref><ref>{{cite web |url=http://mail.openjdk.java.net/pipermail/jdk8-dev/2013-April/002336.html |title=Proposed new schedule for Java 8 |date=2013-04-18 |accessdateaccess-date=2013-04-19}}</ref><ref>{{cite web |url=http://openjdk.java.net/projects/jdk8/ |title=JDK 8 |publisher=OpenJDK |date=2013-04-18 |accessdateaccess-date=2013-04-19}}</ref>
 
The project was announced first at the JVM language summit in July 2011,<ref>{{cite web
Line 36:
| date=July 2011
| publisher=[[Oracle Corporation]]
| accessdateaccess-date=2011-07-24}}</ref><ref>{{cite web
| url=http://www.wiki.jvmlangsummit.com/images/2/27/JVMLS_GES.pdf
| title=JVM Language Summit: Moving Java Forward, aka ‘Pointy haired manager talk’
Line 43:
| date=2011-07-19
| publisher=[[Oracle Corporation]]
| accessdateaccess-date=2011-07-24
| archive-url=https://www.webcitation.org/6I6yxnS3o?url=http://wiki.jvmlangsummit.com/images/2/27/JVMLS_GES.pdf
| archive-date=2013-07-14
Line 53:
| date=2011-10-05
| publisher=[[InfoWorld]]
| accessdateaccess-date=2011-10-08}}</ref>
 
On November 21, 2012, Oracle formally announced the [[open sourcing]] of the Nashorn source on the [[OpenJDK]] repository. The project aim will be to allow embedding JavaScript in Java applications via [[Scripting for the Java Platform|JSR-223]] and to develop standalone JavaScript applications.<ref>{{cite web
Line 62:
| publisher=[[Oracle Corporation]]
| quote=''I hereby propose the creation of the Nashorn Project with Jim Laskey as the Lead and HotSpot group as the sponsoring Group. In accordance with the OpenJDK guidelines [1], we would like to start a new project to implement a lightweight high-performance JavaScript runtime in Java with a native JVM''
| accessdateaccess-date=2012-11-24}}</ref> On December 21, 2012, Oracle announced Nashorn source was publicly released in the [[OpenJDK]] repository.<ref>{{cite web
| url=https://blogs.oracle.com/nashorn/entry/open_for_business
| title=Open for business
Line 68:
| date=2012-12-21
| publisher=[[Oracle Corporation]]
| accessdateaccess-date=2012-12-21}}</ref>
 
It provides a 100% support of ECMAScript 5.1.<ref>https://docs.oracle.com/en/java/javase/12/docs/api/jdk.scripting.nashorn/module-summary.html</ref>
Line 76:
| title=JEP 335: Deprecate the Nashorn JavaScript Engine
| date=2017-07-17
| accessdateaccess-date=2018-09-25}}</ref><ref>{{cite web |url=https://openjdk.java.net/jeps/372 |title=JEP 372: Remove the Nashorn JavaScript Engine |date=2020-01-10 |accessdateaccess-date=2020-07-22}}</ref> GraalJS from the [[GraalVM]] project was suggested as a replacement.
 
==Name==
[[wikt:Nashorn|''Nashorn'']] {{IPA-de|ˈnaːsˌhɔɐ̯n|}} ("nahss-horn") is the German translation of [[rhinoceros]], a play on words on [[Rhino (JavaScript engine)|Rhino]], the name of a JavaScript engine implemented in Java and provided by [[Mozilla Foundation]]. The latter gets its name from the animal on the cover of the JavaScript book from [[O'Reilly Media]].<ref>{{cite web |url=http://www.oreilly.com/catalog/jscript5/ |title=JavaScript: The Definitive Guide, 5th Edition |publisher=O'Reilly Media, Inc |accessdateaccess-date=2012-01-31}}</ref>
 
== Performance ==
Line 87:
| date=2014-12-12
| publisher=[[Oracle Corporation]]
| accessdateaccess-date=2015-09-06}}</ref>
 
==See also==