In fact, there is already a frontend in Java:
http://code.google.com/p/dart/source/browse/#svn%2Fbranches%2Fbleeding_edge%2Fdart%2Fcompiler%2Fjava%2Fcom%2Fgoogle%2Fdart%2Fcompiler

It's used to compile to javascript but it can be adapted to generate bytecode at runtime. So yes, it seems simple (or not that hard) to write a runtime using invokedynamic.

BTW, you can currently use Rhino for that.

Rémi

On 10/10/2011 10:14 AM, Alexander Turner wrote:

It is a very interesting idea. It take Java to js trechnology google created and uses it for a more flexible language. The mix of static and dynamic typing (much like vb does/did) has a proven track record of being much liked by day job programmers.

I suspect, much more than Go, this language could shake things up.

I also anoreason itshould not run very well on the jvm under invoke dynamic semantics.

For the first time in a long time - a new language to get exciterd about...

On Oct 10, 2011 8:02 AM, "Rémi Forax" <fo...@univ-mlv.fr <mailto:fo...@univ-mlv.fr>> wrote:

    On 10/10/2011 09:51 AM, Marcus Lagergren wrote:
    > FYI,
    >
    > Google Dart now has a twitter account :
    > https://twitter.com/#!/dart_lang
    <https://twitter.com/#%21/dart_lang>
    > <https://twitter.com/#%21/dart_lang> and Website is up
    > http://www.dartlang.org/
    >
    > /M

    OMG, Dart is the next Java not the next Javascript !

    Rémi

    _______________________________________________
    mlvm-dev mailing list
    mlvm-dev@openjdk.java.net <mailto:mlvm-dev@openjdk.java.net>
    http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to