Are there any "good" C libraries for garbage collection?
I know about the Boehm GC, is it maintained nowadays?
What about http://tinygc.sourceforge.net?
What are your experiences with these libraries?
Are there any "good" C libraries for garbage collection?
I know about the Boehm GC, is it maintained nowadays?
What about http://tinygc.sourceforge.net?
What are your experiences with these libraries?
In my humble opinion: if you have problems in C using malloc() and free() correctly, you should swith to another language (maybe JAVA), which has a GC build into the concept of the language.
every tool has its purpose and its range of usability, and C is not designed for GC. If you flansch a GC on C you get a lot of overhead to get it "right", which will result in loss of speed and clarity.
You could use Boehm's Garbage Collector. Many projects I have worked with use it.