Re:Show HN: A simple garbage collector for C
by weberc2 on Friday December 20, 2019 @12:26PM
(#21845756)
> Ironically, one of Boehm's use cases is looking for memory leaks. You basically #ifdef Boehm into a test build, and if a GC finds garbage, you know that you didn't free something correctly.
So a "garbage checker"? :) This is interesting, I never really thought about using it as a checking tool.
So a "garbage checker"? :) This is interesting, I never really thought about using it as a checking tool.