It would be nice to be able to compile directly to Java(tm) bytecode, in a similar vein to the current DEX support.
This would have the following benefits:
Ability to directly compile for target VM (either JVM or Dalvik)
Unified API for compiled scripts (currently require handling differently depending on compiler used).
Performance boost from reduced reflection usage (as seen in DEX compiler).
Ability of JVM to JIT the compiled code.
One way to make this happen is to transform the current DeeVM bytecode directly to Java bytecode, and generate the classes at runtime. This would save a lot of rewriting, and make keeping the DeeVM compiler current much easier.
We may also be able to utilise 1.7's INVOKEDYNAMIC support in this compiler.
It would be nice to be able to compile directly to Java(tm) bytecode, in a similar vein to the current DEX support.
This would have the following benefits:
One way to make this happen is to transform the current DeeVM bytecode directly to Java bytecode, and generate the classes at runtime. This would save a lot of rewriting, and make keeping the DeeVM compiler current much easier.
We may also be able to utilise 1.7's INVOKEDYNAMIC support in this compiler.