[fpc-devel] Modernising Pascal

Jamie McCracken jamie-junk at blueyonder.co.uk
Fri Feb 25 15:17:51 CET 2005


Florian Klaempfl wrote:
> Jamie McCracken wrote:
> 
>>> I did wrote GC in C++ itself. So it binds rather well...
>>
>>
>>
>> not a compacting one then - 
> 
> 
> Ref. counting isn't compacting either?

Not an issue cause memory allocation is conventional when ref counting.

GCs allocate memory from a managed heap which fragments heavily ergo it 
needs compacting to be able to recycle free memory blocks more 
efficiently. (most GCs achieve fast memory allocation by always 
allocating from fresh untouched memory so you can quickly run out of 
memory if they dont compact exisiting used memory).


jamie.




More information about the fpc-devel mailing list