Is it possible to use Boehm garbage collector only for the part of the program?

Posted by bialix on Stack Overflow See other posts from Stack Overflow or by bialix
Published on 2010-05-30T07:05:02Z Indexed on 2010/05/30 7:12 UTC
Read the original article Hit count: 255

I've read article in LinuxJournal about Boehm-Demers-Weiser garbage collector library. I'm interesting to use it in my library instead of my own reference counting implementation.

I have only one question: is it possible to use gc only for my shared library and still use malloc/free in the main application? I'm not quite understand how gc checks the heap so I'm worrying about performance of gc in that case and possible side effects.

© Stack Overflow or respective owner

Related posts about c++

Related posts about c