Java Virtual Machine in pure Node.js
31–40 of 143 posts
Re: Java Virtual Machine in pure Node.js
#32Now you just need to run Rhino( https://developer.mozilla.org/en/docs/Rhino ) on it and you will be totally meta.
Re: Java Virtual Machine in pure Node.js
#33Just a toy implementation[1], if someone is wondering. [1]The basic .class file attribute parsers are located in libs/classfile, while a simple bytecode interpreter can be found in jvm.js. It doesn't load a real runtime library (classpath, apache harmony,openjdk,etc...) but it partially implements a few java.* classes in pure javascript under libs/java.
Should be renamed to node-java instead of node-jvm, I think.
Re: Java Virtual Machine in pure Node.js
#34This is the worst thing that ever happened
Re: Java Virtual Machine in pure Node.js
#35With GWT you can translate the Java application to standalone JavaScript files ... and with this implementation you can run Java in a Javascript environment. Which one would perform best?
Re: Java Virtual Machine in pure Node.js
#36Re: Java Virtual Machine in pure Node.js
#37This is the worst thing that ever happened
Re: Java Virtual Machine in pure Node.js
#38Re: Java Virtual Machine in pure Node.js
#39Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
JS.js