August 20, 2011
A new target has been added to Free Pascal compiler. It is now possible to compile applications to Java bytecode. This means that these Free Pascal applications can run in a Java Virtual Machine (JVM), so that it can run on any platform that has Java support.
The Free Pascal compiler (fpc) can compile Pascal applications for different targets, like 32 bit Windows or Linux on a PowerPC.Unlike these targets for which the compiler generates code which can be directly executed by the processor, the new jvm-target generates bytecode. This bytecode can not be run by a processor directly, but needs a intermediate layer (in this case JVM) between the bytecode and the processor. One of the advantages of this is that the Free Pascal code can run on any system that supports this intermediate layer(VM). The disadvantage is that it is not possible to implement everything that Free Pascal supports, because the VM can imply some restrictions and limitations.
This new target has been committed to fpc-trunk (the development version, 2.7.1) by Jonas Maebe. This target does only support the basic Pascal language and some functionality of the system unit. It could be that more rtl functionality is added later, but this is not part of the primary goal. On the other hand the JDK can be used. Classes are implemented as Java-classes, and can be used from within other Java-code. More information about what is supported and what not can be found on the wiki.
Java-bytecode target added to the Free Pascal compiler.
August 20, 2011
A new target has been added to Free Pascal compiler. It is now possible to compile applications to Java bytecode. This means that these Free Pascal applications can run in a Java Virtual Machine (JVM), so that it can run on any platform that has Java support. more...
Dutch Pascal conference 2011.
June 12, 2011
After the success from last year, the Dutch Pascal Users Group organizes the second Dutch Pascal Conference on June 18th. Last year it was mainly focused on Lazarus, this year there will also be some topics about Delphi. more...
-- Dave Haxton, USA