[fpc-pascal] Working Free Pascal android JNI example

Marco van de Voort marcov at stack.nl
Wed Dec 8 16:13:09 CET 2010


In our previous episode, Michael Van Canneyt said:
> >> In fact I think this is one of the more easy things.
> >> The main problem seems to me that you need to support things like pointers,
> >> which is something deeply embedded in Pascal.
> >
> > I think the "suitable RTL" is a reference to an earlier discussion about
> > this subject, where this (pointers) was also said, and that maintaining an
> > native RTL without pointers was not desirable.
> 
> I think 'RTl' is way too limited in scope. 

It goes of course even more for libraries above that level. I don't see any
future for code sharing (rtl,libs) between bytecode and native. I've seen
the mess with Delphi.NET on the delphi side, and don't want a slippery slope
in that direction.

The pointers are just the first thing. Object model, RTTI etc are next.

But if the overlap with the bytecode generator is only in the compiler, then
that satisfies me, and is it something for the compiler devels to decide. 




More information about the fpc-pascal mailing list