[fpc-devel] Modernising Pascal

Nico Aragón nico at espira.net
Fri Feb 25 14:17:53 CET 2005


El Viernes, 25 de Febrero de 2005 01:36, Sebastian Kaliszewski escribió:
> You could do partial GC as well. No one forces yo to do GC on everything.

Free Pascal object model is very flexible. If I'm not mistaken, it's 
compatible with Delphi so it has the same construction mechanism so it's 
possible to override InstanceSize, InitInstance, NewInstance and 
FreeInstance.

There is also a reference counting hooks for interfaces. Combining all these 
facilities, it's possible to create a parallel hierarchies of objects that 
use reference count or garbage collection.

-- 
saludos,

    Nico Aragón





More information about the fpc-devel mailing list