3 ms·
A C garbage collection library generally has to be very conservative because most C code is written with the assumption of not being garbage-collected. Having G
by chc 12y ago
A C garbage collection library generally has to be very conservative because most C code is written with the assumption of not being garbage-collected. Having GC built in allows you to do more aggressive collection without worrying about breaking code that assumes it has precise control over memory. There's a reason why even people who like garbage collection don't tend to use garbage collection when they write C.