[gclist] glib/gtk w/ GC

Basile STARYNKEVITCH basile@starynkevitch.net
Wed, 19 Feb 2003 06:17:51 +0100


>>>>> "Enrico" == Enrico Weigelt <weigelt@metux.de> writes:

    Enrico> hi folks, i'm gonna start working on an gc based derivate
    Enrico> of the glib/gtk.  anyone interested in helping ?

It is a huge work.

The main problem is that the memory mechanism is deeply rooted in
GTK2. The object reference counters goes down into glib/gobject, and
widgets are finalized.

What kind of GC do you want to use? Your own, or Boehm's?

Actually, I thought of doing this, and concluded that writing a
toolkit which borrows piece of code from GTK2 is easier than porting
GTK2 to a GC.

There used to be some (opensource, but not very popular) toolkits
above Boehm's GC.

You need some finalization for widgets, because they use system
resources (eg X11 windows).

-- 

Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
email: basile<at>starynkevitch<dot>net 
alias: basile<at>tunes<dot>org 
8, rue de la Faïencerie, 92340 Bourg La Reine, France