What are (were) the most difficult parts of D?
rikki cattermole
rikki at cattermole.co.nz
Sat May 14 16:08:34 UTC 2022
On 15/05/2022 4:00 AM, eugene wrote:
>> The more I have studied memory allocators & management strategies
>
> memory allocators and GC are different things
> i've had at some point 'free list' based allocator
> and it worked ~3 times faster than malloc/free
> when used for classical linked list implementation.
GC's are deeply entwined with their memory allocators.
They have their own dedicated one tuned to their characteristics (say
thread handling). Even if they still call out to malloc to map blocks.
More information about the Digitalmars-d-learn
mailing list