4 ms·
As the creator of Nodyn, but being late on the draw, I'll just have to echo what everyone else has said here. Java provides a large and rich ecosystem that is e
by lanceball 13y ago
As the creator of Nodyn, but being late on the draw, I'll just have to echo what everyone else has said here. Java provides a large and rich ecosystem that is either unavailable or prohibitively difficult to bundle into a native runtime.
Nodyn is not yet complete, though I'd like to have a release in the next month that is capable of running express.js apps. It is slower than Node.js, but of course I'd like that to change; and with the JVM underneath, beating Node.js on performance is possible.
Nodyn is built on top of Vert.x (http://vertx.io http://vertx.io) an asynchronous polyglot platform which excels on the Techempower benchmarks. The javascript runtime is DynJS - a new JS runtime for the JVM which is independent of Oracle. Though it's admittedly slower than Nashorn at the moment, we hope for that to change.
- notastartup 13y agoYes this is what I've been looking for. I gave up trying to get Vert.x running before, but I'm willing to give this a try.
- nl 13y agoGiven the asynchronous programming model that node encourages, how have you found integrating with the traditional Java programming model that most of the Java ecosystem uses?
- RyanZAG 13y agoVert.x has something called a 'worker verticle' that can run blocking IO in a thread pool. You'd communicate with the worker by passing messages on the event bus asynchronously. It makes integrating those kind of services fairly straight forward, but obviously you'd switch to actual async APIs if available.
- egeozcan 13y agoWill it have the concurrency features of Vert.x? I was hoping that jxcore [1] (aka NodeJX) would bring these to node but this seems like a better alternative. [1]: http://jxcore.com/ http://jxcore.com/ edit: > All that with vert.x's powerful clustering technology built right in I think I missed that part. Sorry =)