[fpc-devel] Proof of Concept ARC implementation
Michael Schnell
mschnell at lumino.de
Mon Oct 27 11:32:51 CET 2014
On 10/27/2014 11:26 AM, Jonas Maebe wrote:
>
>
> I think that a cycle detector should be an independent component, just
> like heaptrc is an independent add-on to detect memory problems in
> regular programs.
So you suggest cyclic references should be forbidden (erroneous
programming technique). Are they ?
>
> Additionally, as mentioned before, I still believe it's a very bad
> idea to be able to inherited from a regular class and turn it into a
> reference counted class. Reference counted and non-reference-counted
> classes are different language entities with different behaviour and
> different code generation requirements, and hence should be completely
> unrelated.
So there simply would be a ref-counted variant of TObject you can
inherit from use as an option ?
-Michael
More information about the fpc-devel
mailing list