请输入您要查询的百科知识:

 

词条 Nashorn (JavaScript engine)
释义

  1. Name

  2. Performance

  3. See also

  4. References

  5. External links

{{Infobox software
| name = Nashorn
| logo =
| screenshot =
| caption =
| developer = Oracle Corporation
| status = Active
| latest release version =
| latest release date =
| latest preview version =
| latest preview date =
| operating system = Cross-platform
| platform = Java Virtual Machine
| language =
| programming language = Java
| genre = JavaScript engine
| license = GPL with a linking exception
| website =
}}Nashorn is a JavaScript engine developed in the Java programming language by Oracle. It is based on the Da Vinci Machine (JSR 292) and has been released with Java 8.[1][2][3]

The project was announced first at the JVM language summit in July 2011,[4][5] and then confirmed at JavaOne in October 2011.[6]

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 JSR-223 and to develop standalone JavaScript applications.[7] On December 21, 2012, Oracle announced Nashorn source was publicly released in the OpenJDK repository.[8]

With the release of Java 11, Nashorn is deprecated, and will likely be removed from the JDK at a later time.[9] The GraalVM was suggested as a workaround.

Name

Nashorn {{IPA-de|ˈnaːsˌhɔɐ̯n|}} ("nahss-horn") is the German translation of rhinoceros, a play on words on 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.[10]

Performance

According to Oracle benchmarks, Nashorn performance is several orders of magnitude faster than the alternative Rhino JavaScript engine.[11]

See also

{{Portal|Free and open-source software}}
  • List of ECMAScript engines

References

1. ^{{cite web| url=http://www.wiki.jvmlangsummit.com/images/c/ce/Nashorn.pdf| title=Adventures in JSR-292 or How To Be A Duck Without Really Trying| date=July 2011| last=Laskey|first=James | publisher=Oracle Corporation| accessdate=2011-07-24}}
2. ^{{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 |accessdate=2013-04-19}}
3. ^{{cite web |url=http://openjdk.java.net/projects/jdk8/ |title=JDK 8 |publisher=OpenJDK |date=2013-04-18 |accessdate=2013-04-19}}
4. ^{{cite web| url=http://openjdk.java.net/projects/mlvm/jvmlangsummit/agenda.html| title=JVM Language Summit — Agenda| date=July 2011| publisher=Oracle Corporation| accessdate=2011-07-24}}
5. ^{{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’| last=Saab|first=Georges| date=2011-07-19| publisher=Oracle Corporation| accessdate=2011-07-24}}
6. ^{{cite web| url=http://www.infoworld.com/d/application-development/oracle-prepping-its-nashorn-javascript-engine-175159| title=Oracle prepping its Nashorn JavaScript engine| last=Krill|first=Paul| date=2011-10-05| publisher=InfoWorld| accessdate=2011-10-08}}
7. ^{{cite web| url=http://mail.openjdk.java.net/pipermail/announce/2012-November/000139.html| title=CFV: New Project: Nashorn| last=Coomes|first=John| date=2012-11-21| 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| accessdate=2012-11-24}}
8. ^{{cite web| url=https://blogs.oracle.com/nashorn/entry/open_for_business| title=Open for business| last=Laskey|first=J| date=2012-12-21| publisher=Oracle Corporation| accessdate=2012-12-21}}
9. ^{{cite web| url=http://openjdk.java.net/jeps/335| title=JEP 335: Deprecate the Nashorn JavaScript Engine| date=2017-07-17| accessdate=2018-09-25}}
10. ^{{cite web |url=http://www.oreilly.com/catalog/jscript5/ |title=JavaScript: The Definitive Guide, 5th Edition |publisher=O'Reilly Media, Inc |accessdate=2012-01-31}}
11. ^{{cite web| url=https://blogs.oracle.com/nashorn/entry/nashorn_performance_work_in_the| title=Nashorn Architecture and Performance Improvements in the Upcoming JDK 8u40 Release | date=2014-12-12| publisher=Oracle Corporation| accessdate=2015-09-06}}

External links

  • {{Official website|blogs.oracle.com/nashorn/}}
{{ECMAScript}}

4 : JVM programming languages|JavaScript engines|Cross-platform software|Software using the GPL linking exception

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 3:48:49