Re:Nodyn – Node.js for the JVM
by pron on Wednesday February 26, 2014 @07:46PM
(#7309460)
Node is actually much slower than Java. True, the JavaScript implementation on the JVM is slower than V8 (even Nashorn, the new JavaScript engine included in Java 8). Of course, the main motivation is, as others have said, integration with the huge Java ecosystem, but being able to drop down to Java for performance (when you need it) is a lot easier than writing native V8 modules.
[ Parent
| on HN ]
but being able to drop down to Java for performance (when you need it) is a lot easier than writing native V8 modules.
There's a node-ffi package, although it has some overhead from the call itself.