Live data from Hacker News

PurpleJS – An alternative to Node.js for Java projects

webagility.com

51–52 of 52 posts

Re: PurpleJS – An alternative to Node.js for Java projects

#51

Interesting offer, would be great to have some benchmarks comparison to see the value of it. Do you happen to have some?

No, sorry, no benchmarks yet. The main focus until now has been to speed up the development process. Right now it's pretty slick when it comes to reloading of resources on-the-fly when changed.

Re: PurpleJS – An alternative to Node.js for Java projects

#52
post #47
post #27

Does it use Rhino (to compile JS into bytecode)?

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.

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... .
Post reply on HN