News for hackers. Stuff that matters.
Re:Linus Torvalds on Garbage Collection (2002) by marshray on Sunday April 24, 2011 @12:09PM (#2479072)
Perhaps I was thinking that that's usually provided by the operating system "for free". Hard to imagine an actual nontrivial GC system not needing basic malloc/free at some point anyway. Come to think of it, I think I actually tried implementing something like that once.

Alternatively, you could implement a simple first-fit free-block-list scheme in a small amount of code. It might not look terribly different from something a GC might do anyway.

Still, I think it's a fair point.

There are no comments on this comment yet.