Re: [gtk-list] GC and GTK+




On Sun, 19 Apr 1998, Owen Taylor wrote:

> - Does GC solve multi-language memory management problems?
> 
> Not unless the same GC system is used for all languages. A cycle
> that traverses two languages cannot be found unless the garbage
> collector can walk the heap in both systems.

Certainly one can have different GC systems for different languages,
otherwise the problem becomes almost unsolvable (what will be rewritten to
fit the 'there can be only one' system).

In SIAG, SIOD and Guile (and Tcl) coexist nicely, each doing its own GC.
Gtk should handle its own resource management and do it well, anything
more is probably too much.

Ulric



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]