Hacker News new | ask | show | jobs
by stenrs 3526 days ago
No, it's using Nashorn which is bundled with Java 1.8+. It compiles Javascript into JVM bytecode as Rhino, but it's more performant.
1 comments

Thanks. Last time I looked at JS in Sun Java, it was in interpreter mode only due to license issues, so I always bundled Rhino with my projects to be able to precompile JS code, so it will run faster. But now performance of Nashorn is pretty impressive: https://blogs.oracle.com/nashorn/entry/nashorn_performance_w... .