On 29 Aug 2011, at 11:42, Michael Schnell wrote:

On 08/29/2011 11:08 AM, Sven Barth wrote:

But there is a significant difference between the JVM bytecode and the Dalvik one and perhaps Michael thought of that when writing his question: The JVM bytecode is a pure stackbased one while the Dalvik one uses registers.

Yep.

I was confused by the explicit mentioning of 8 vs 16 bit, since I didn't see how it mattered if you only meant stack-based vs register based.

That is why I am astonished that converting Java-Bytecode to Dalvik code should be an easy task.

JIT compilers for Java byte code have existed for over a decade now. They also map the Java stack machine to register-based architectures.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to