On Mon, 30 Jul 2018, J. Gareth Moreton wrote:

I would say that that's a little naïve and dangerous to think like that.
Sure, Windows might have the means to clean up memory after an application
terminates, but not all platforms have such heap deallocation features
(e.g. pure DOS, where certain procedures and interrupts remain in memory
even after the application terminates... so-called memory-resident
programs).

The compiler is not such program. You obviously need to choose for which
programs you do this.

But having the memory freed properly would also enable the use of the compiler as a DLL in e.g. Lazarus.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to