Sun to pursue Java-less Java?

What’s this all about?

http://www.cmswatch.com/Trends/1165-Sun-to-pursue-Java-less-Java

And what about this? Being able to cross-compile Java straight to ActionScript is intriguing.

http://www.thestandard.com/news/2008/02/26/adobe-extending-flash-platform

Im not sure how this is new information to be honest? Groovy and Beanshell already compile to bytecode IIRC, it was never disallowed, you just had to have a compiler…

DP :slight_smile:

Compiling to SWF9 (AS3) bytecode would be truly awesome. :slight_smile:

That would be a little bit too convenient. :wink:

With some kind of wrapper lib (which you have to use on the Java side for graphics/sound/input etc) something like that might work tho.

(Basically some full fledged library which mirrors Flash’s library and scene graph. Same namespace etc. During cross compilation that part is just skipped.)

Alternatively you could write an interface layer that mapped specific Java libraries onto their Flash counterparts.
It would allow you to deploy Applet content in Flash with minimal to nill application code changes.
Though I can imagine supporting the entire J2SE api available to Applets through Flash would be a lot of work, perhaps even impossible.

So have you guys not heard of GWT-Google Web Toolkit? It has a Java to Javascript compiler. Actionscript 3 is javascript.

What’s more interesting is the research vm that’s not Java specific. MS owned Sun on hosting multiple languages on the CLR. It’d be nice to have a choice of VM to use.

[quote=“nonnus29,post:6,topic:31451”]
I am really no expert on CLR questions but I heard that it is more of a “multiple languages accessing the same API” than “multiple languages run on the same CLR” thing.
(maybe someone could comment on it with more experiences in .net languages)

here the link to the MLVM research project:
http://openjdk.java.net/projects/mlvm/

MVM != MLVM
http://java.sun.com/developer/technicalArticles/Programming/mvm/

a list of languages running on the JVM:
http://www.robert-tolksdorf.de/vmlanguages.html

Interesting article about this subject on slashdot today:

I hope Sun will push Scala, too. It’s a great language.

That’s interesting about Adobe looking to other languages. The three major VMs are starting to converge in terms of feature set (although Adobe has a lot of work to do to catch up to HotSpot)

nice lecture on how JRuby works using the JVM http://youtube.com/watch?v=PfnP-8XbJao
its suppose to better than standard Ruby in both performance and ease of use.

+1