On Sat, 2007-08-11 at 14:50 -0700, Joe Wilson wrote:

> In your experience, is Boehm GC reliable for large optimized programs 
> or very long lived processes?

Boehm GC is reliable and robust *provided* you hook it up properly.
It needs the right linker support, and the right compiler and
application support, or it won't work. Things like C++ exceptions,
threads, link misordering, etc etc can create problems. From that
viewpoint an application like Neko is very well supported because
the interpreter and linkage and threading technologies are finite
and well known.

Note that Boehm also allows 'precise' specifications: you can
provide a bitmap with objects to locate pointers.

OTOH Felix uses a precise collector. User "C" code heap objects
are simply not managed. If the user makes an STL Vector of Felix
heap pointers, they're likely to dangle. OTOH the collector has
to be called manually.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to