[fpc-devel] Improving Ref Counting

Jamie McCracken jamie-junk at blueyonder.co.uk
Mon Feb 28 13:14:07 CET 2005


Jonas Maebe wrote:
> 
> On 28 feb 2005, at 12:26, Jamie McCracken wrote:
> 
>>> FPC uses an platform independent method. The C++ ABI isn't used.
>>
>>
>> But it could be used on platforms that have a "fairly" stable and 
>> standardised C++ ABI (windows and Linux mainly). Other platforms can 
>> use the current FPC generic method as a fallback.
> 
> 
> FPC could use that trick on (pretty much?) any platform. It doesn't have 
> to be compatible with the official C++ abi of that platform (just like 
> the current technique isn't either). It just isn't implemented yet.

Yes thats right which is why I think its best to optimise its 
implementation in the various RTLs (the Linux RTL could use the C++ ABI 
or something else depending on which is faster etc).

jamie.



> 
> 
> Jonas
> 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 
> 





More information about the fpc-devel mailing list