Rather then running new languages on a JVM, how about new languages to
run your JVM?

"
Until recently implementing a JVM in JavaScript would have been
difficult because of efficiency problems but there have been huge
speed increases in JavaScript engines. So much so that a lone coder,
Artur Ventura, has implemented a large part of the standard JVM using
JavaScript and you can check the code out on Github.

The motivation for this effort is put very well in Artur's blog. He
argues that rather than build JavaScript into web browsers they should
have a virtual machine so that any language can be used. As well as
this advantage, he also points out that with a JVM type approach you
get automatic sandboxing and simply sending the JVM to the server
provides browser independent persistence.

It really does make much more sense to have a JVM build into the
browser but failing that why not simply emulate the JVM in JavaScript
which is built into every browser. This is just another aspect of the
steady conversion of features provided by plugins to JavaScript
implementations - codecs, pdf, zipping and so on.

After 6 months of work the result is BicaVM which, it is claimed, runs
60% of byte code. It hasn't been optimized as yet, but it does run on
the iPad/iPhone and it supports a JNI interface to the DOM.
"


Blog Post: http://www.surf-the-edge.com/2011/11/15/bicavm-jvm-in-javascript-why/
Source: https://github.com/nurv/BicaVM

Via 
http://www.i-programmer.info/news/167-javascript/3360-javascript-jvm-runs-java.html
Via: 
http://developers.slashdot.org/story/11/11/21/0454254/javascript-jvm-runs-java

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to