On Mon, January 16, 2017 2:40 am, Michael Schnell wrote: > On 14.01.2017 20:36, Lars wrote: > >> What if you are porting code to a non jvm... if you copy and paste >> something and it has no free, you're screwed. > Sorry. I don't understand. AFAIK, in a non jvm project, free() always is > provided (and used).
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... Sorry I'm not familiar with the jvm fpc project (I have been meaning to try it). Delphi has some similar issues with garbage collected iOS development where they have provided some fake release/free system to try solve the issue, which, has the side effect of making garbage collected programming much like non garbage collected programming which in a way defeats the purpose.. i.e. if you have a fake free procedure that can be called, then why program in garbage collection in the first place.. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal