[fpc-pascal] ppcjvm issues
Michael Schnell
mschnell at lumino.de
Wed Jan 18 10:16:54 CET 2017
On 17.01.2017 19:07, Lars wrote:
> If you have a jvm project with lots of code and now want to start using
> this code in another regular mode objfpc unix/win32 application...
Exactly this as the point I wanted to express. Even when coding an fpc
application or library for use with jvm, free (and destroy) should be
used and provided in the normal way good old Object Pascal requires. If
jvm does garbage collection under the hood (and not momentarily adheres
to free, as we are used to with Object Pascal) this should be handled as
a hidden implementation detail and as little as possible be communicated
outside, so that using this code in another regular mode objfpc
unix/win32 application can be done as seamlessly as possible .
-Michael
More information about the fpc-pascal
mailing list