[fpc-devel] FPC-JVM: Status report on Android

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 29 13:09:10 CEST 2011


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



More information about the fpc-devel mailing list