Saturday, July 26, 2014

Avatar.js: node.js + JVM

Avatar.js: is a project to bring the node programming model, APIs and module ecosystem to the Java platform, enabling a new class of hybrid server applications that can leverage two of the most popular programming languages and ecosystems today. These Java+JavaScript applications can leverage capabilities of both environments - access the latest node frameworks while taking advantage of the Java platform's scalability, manageability, tools, and extensive collection of Java libraries and middleware.





Project Avatar @ InfoQ



Node.js vs Avatar.js performance @ GitHub



first benchmark: node.js: 2,431 avatar.js: 46.74 ops/sec
this is 50 times slower on JVM!
other tests are similar...