[fpc-pascal] Compiling to Java

Michael Schnell mschnell at lumino.de
Mon Aug 12 10:04:40 CEST 2013


Right now, the reach of fpc (and Lazarus) "Write once compile 
everywhere" ) is being extended to Android (e.g. by having fpc compile 
to Dalvik).

AFAIK, compiling to Android Dalvik already woks rather well.
IIRC, here, first fpc compiles to Java byte code and then this is 
converted to Dalvik Word code.

So it should be possible to create "normal" Java applications, as well.

Can this be used to do (arch independent) Desktop applications ?

Can this be used to do (arch independent) "server site Java" Web 
applications ?

Can the Lazarus GUI designer be used to do the GUI of such (Desktop) 
applications ?

Of course the Lazarus GUI designer can't easily be used to do the GUI of 
Web applications (Java or native). But there is or has been stuff like 
"EXTPascal" and "Comet" that might (or might not) be viable to take a 
look at to allow for extending the reach of  "Write once compile 
everywhere" to web applications.

Thanks,
-Michael (sorry if I still don't understand enough of the Java world to 
and might be asking silly questions..)



More information about the fpc-pascal mailing list