Live data from Hacker News

Java Virtual Machine in pure Node.js

github.com

61–70 of 143 posts

Re: Java Virtual Machine in pure Node.js

#63
post #12

18ms 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!

Who doesn't wish it was still 1999? Hot stock market, millenium mania, cheap gas, dot-coms. Really slow Java makes it all come rushing back.

Re: Java Virtual Machine in pure Node.js

#67

Now, my question is. WHY!? I might be crazy, but does anyone see a legitimate use for this?

This question on this kind of topic needs to stop being asked on Hacker News. It's fair to ask whether or not there was a material usage intended for the project, but if isn't one, we really need to stop implying that there should be.

Re: Java Virtual Machine in pure Node.js

#68

Finally, I can run JRuby on my node server!

From poster with similar project above:

https://github.com/int3/doppio/wiki/Successes

> We're also making progress on others, but we're not quite there yet: JRuby, Clojure, Scala REPL

I think I just had a micro heart attack reading that.

Re: Java Virtual Machine in pure Node.js

#70
How hard is it to write a JVM? I'd think it pretty easy, as it's intended to be small and easily portable.

You could even write one in Java (and I'm sure it's been done, many times). EDIT e.g. http://igormaznitsa.com/projects/mjvm/index.html

Of course, doing all the tricky JIT etc of the JVM is a different story...

Post reply on HN