-
Cross-Compiling Java to ActionScript 3
While in the shower one day this week, I was contemplating how hard it would be to add Java cross-compile support to Loom, but it seems like the Eclipse guys have already got this covered.
I’m not sure what level the cross-compile is implemented at in E4; my intention for Loom had potentially been opcode-to-opcode, with the appropriate language feature trade-off where applicable. I don’t have any serious plans for cross-compiling in Loom, but it seems entirely possible.
In the case of basic use cases, cross-compiling at the bytecode level could be interesting. The original idea I was contemplating was being able to send a Java class across the wire over AMF and load its class definition in to memory in the ActionScript virtual machine, complete with its instruction set. There would be huge problems trying to send classes with references to OS-level components (such as files or network sockets), but since the AMF gateway is usually used for sending value objects I was thinking of something along the line of transmitting classes that adhered to a validation framework implemented on both sides of the wire (think OVal for AS3).
Again, I have nothing particularly serious planned – this is just the sort of stuff I ponder when performing mundane activities.
Category: Uncategorized | Tags:
1 Responses to “Cross-Compiling Java to ActionScript 3”
Related Posts
Recent Posts
- The Arduinome is Finished! (3)
- Loom Becomes as3commons-bytecode (5)
- Arduinome Coming Soon!
- Setting up WebDAV on OS X (1)
- Possible Fix for iPad Wifi Problems
- Bluetooth Headphones and iPad (2)
- Fixing “Bluetooth audio failed” Error Message on Mac OS X with Sony DR-BT50 Headphones
- Programming the Meggy Jr.
- Drag and Drop in iPad Safari is a Drag (1)
- iPad Enhancements