[fpc-devel] Suggestion: reference counted objects

Boian Mitov mitov at mitov.com
Mon Sep 22 00:13:53 CEST 2014


We probably should if possible keep pointers just pointers (Ref counted 
pointer is same a non ref counted as we discussed so same size).
Otherwise we may end up adding bits for the Moon Phases or something in it.
Even if we add ARC we should do it as simple as possible and without 
increasing the size of the pointers (After all Delphi already has done it, 
and their ref counted pointers are still 4 bytes for 32 bit processes).

With best regards,
Boian Mitov

-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
-----Original Message----- 
From: Nikolai Zhubr
Sent: Sunday, September 21, 2014 2:59 PM
To: fpc-devel at lists.freepascal.org
Subject: Re: [fpc-devel] Suggestion: reference counted objects

22.09.2014 0:28, Peter Popov:
Besides, thinking about a magnificent brand new pointer type, and as
long as certain performance penalties can be tolerated, one might want
to also consider providing some path for heap defragmentation, for the
sake of completeness (Not that I know how to properly do it, but still
my $0.02).




More information about the fpc-devel mailing list