An implementation of the JVM in Javascript?
30 Apr 2008Caught this over on JavaPosse Google Groups.
Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There’s a demo floating around that took a Tetris (persumably AWT) implementation and has it running as Javascript in the browser.
John Resig has the best overview of it that I’ve seen so far. There’s a PDF as well if you happen to read Japanese.
I don’t know the fundamentals of what’s going on behind the scenes with their compiler so I can’t comment on how similar this is to what the GWT folk have been doing. Nonetheless, the demo is pretty slick and the concept interesting.