Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Java Oracle Programming

Oracle Proposes New Native JavaScript Engine for OpenJDK 80

hypnosec writes "Oracle has proposed a new project for OpenJDK — Nashorn, which aims to implement a high-performance yet lightweight JavaScript runtime that would run on the JVM natively. Nashorn will be headed by Jim Laskey, multi-language Lead at Oracle and the project will be sponsored by HotSpot group. The project proposes an implementation of JavaScript such that it can run standalone JavaScript applications via the JSR 223 APIs. Nashorn's design will enable it to take advantage of new JVM technologies like the MethodHandles and the InvokeDynamic APIs."
This discussion has been archived. No new comments can be posted.

Oracle Proposes New Native JavaScript Engine for OpenJDK

Comments Filter:
  • by dshk ( 838175 ) on Monday November 26, 2012 @08:39PM (#42100423)

    I have used Javascipt as the language of configuration files in a Java application. It replaced XML. It is a pleasure to work with Javascript for this purpose, much more comfortable than XML. I also considered YAML, but Javascript is more powerful and considering its ubiquity it does not need more learning.

    However, I am not sure if real administrators would like Javascript in configuration files. At least it is standard, and has a good documentation, but the expressiveness of Javascript can be used in the wrong way too.

  • by John Bokma ( 834313 ) on Monday November 26, 2012 @09:35PM (#42100985) Homepage

    If you mean JSON; YAML (1.2 and up) is a superset of JSON.

    I don't think you mean actual JavaScript in a configuration file and eval-ing that....

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...