On Saturday, 14 May 2022 at 15:04:55 UTC, rikki cattermole wrote:
Garbage Collectors solve some really hard problems in regards to memory management.

i've *never* encountered "really hard problems" with manual memory management in C.

It is a very good base line for memory management when you do not care about its life time.

I *do* care about its life-time

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.

They really are amazing for most programs.

one-shot programs? ,)


Reply via email to