Would be interested in seeing a JVM written in Go.
Why? I must be missing the connection between Node and Go.
Java Virtual Machine in pure Node.js
21–30 of 143 posts
Re: Java Virtual Machine in pure Node.js
#22Which one would perform best?
Re: Java Virtual Machine in pure Node.js
#2318ms for calculating Fibonacci numbers from 1 to 10. This is definitily bringing JAVA back to the good old days of enterprise execution speeds. :-) Really cool proof of concept! I would really enjoy seeing more projects like this!
Why did you spell it in all-caps here?
Re: Java Virtual Machine in pure Node.js
#24Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
Re: Java Virtual Machine in pure Node.js
#25Re: Java Virtual Machine in pure Node.js
#26https://github.com/szatkus/js2me
Although I targeted only J2ME subset. Also I found few similar projects:
Re: Java Virtual Machine in pure Node.js
#27Re: Java Virtual Machine in pure Node.js
#28Re: Java Virtual Machine in pure Node.js
#29Just 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.
What version of java does it handle? Does it support java.lang.*? What other standard libraries?
Re: Java Virtual Machine in pure Node.js
#30Now you just need to run Rhino( https://developer.mozilla.org/en/docs/Rhino ) on it and you will be totally meta.
Demo: http://doppiojvm.org/