Slashdot Mirror


Oracle Proposes New Native JavaScript Engine for OpenJDK

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."

2 of 80 comments (clear)

  1. Why do they want this? by glwtta · · Score: 1, Interesting

    We're stuck with JavaScript in webapps (where there are plenty of excellent implementations already), but the JVM has little to do with that.

    If they just want a native general purpose scripting language for the JVM, then JS seems like a terrible choice.

    At least, the work that goes into this project should benefit other dynamic languages on the JVM as well.

    --
    sic transit gloria mundi
  2. Re:Don't let them patent it! by M.+Baranczak · · Score: 3, Interesting

    Rhino has been a part of the default Java distro since long before v8.

    What I'd like to know is, how does this thing improve on Rhino? And can parts of it be reused in scripting engines for other languages? The article is pretty light on details.