Nashorn (JavaScript engine)
Developer(s) | Oracle Corporation |
---|---|
Development status | Active |
Written in | Java |
Operating system | Cross-platform |
Platform | Java Virtual Machine |
Type | 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]
Name
Nashorn [ˈ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.[9]
Performance
According to Oracle benchmarks, Nashorn performance is several orders of magnitude faster than the old Rhino Javascript engine.[10]
Limitations
There are no browser APIs such as:[citation needed]
- HTML5 canvas
- HTML5 audio
- WebWorkers
- WebSockets
- WebGL
See also
References
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
External links
<templatestyles src="Asbox/styles.css"></templatestyles>