DoppioVM: a JVM in CoffeeScript
int3.github.com
DoppioVM: a JVM in CoffeeScript
1–10 of 32 posts
Re: DoppioVM: a JVM in CoffeeScript
#2Check out the demo here: http://int3.github.com/doppio/
Re: DoppioVM: a JVM in CoffeeScript
#3Java -> bytecode -> JVM -> CoffeeScript -> JavaScript -> interpreter/JIT -> machine code -> CPU -> hardware.
Turtles all the way down...
Re: DoppioVM: a JVM in CoffeeScript
#4Talk about abstraction! Java -> bytecode -> JVM -> CoffeeScript -> JavaScript -> interpreter/JIT -> machine code -> CPU -> hardware. Turtles all the way down...
Re: DoppioVM: a JVM in CoffeeScript
#5Re: DoppioVM: a JVM in CoffeeScript
#6Talk about abstraction! Java -> bytecode -> JVM -> CoffeeScript -> JavaScript -> interpreter/JIT -> machine code -> CPU -> hardware. Turtles all the way down...
I don't think the CoffeeScript step exists in the pipeline. CoffeeScript is the language the JVM is written in, but I don't expect it outputs CoffeeScript itself.
Re: DoppioVM: a JVM in CoffeeScript
#7I'm one of the authors. Doppio's not the first JVM in Javascript, but I believe we have the most extensive support for the JRE among the lot. In particular, we can run Rhino and the Java 4 compiler. Feel free to ask me any questions! Check out the demo here: http://int3.github.com/doppio/
Re: DoppioVM: a JVM in CoffeeScript
#8I'm one of the authors. Doppio's not the first JVM in Javascript, but I believe we have the most extensive support for the JRE among the lot. In particular, we can run Rhino and the Java 4 compiler. Feel free to ask me any questions! Check out the demo here: http://int3.github.com/doppio/
Can you run Doppio in Rhino on the JVM?
Re: DoppioVM: a JVM in CoffeeScript
#9doppio > rhino
js> Packages.java.lang.System.out.println('hello world');
hello world
Re: DoppioVM: a JVM in CoffeeScript
#10Earlier quoted context omitted.
Can you run Doppio in Rhino on the JVM?
I haven't tried, but I'm almost certain not -- Doppio relies on the existence of either the DOM or the Node API, and Rhino lacks both. Not to mention that our support for Rhino libraries isn't perfect as-is. Of course, one could write another shim layer for Doppio that uses the Rhino API... but I'm not going there :P