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

.



Hi,

Has anybody got an opinion regarding the type of garbage-collector
to implement? I know the Oberon system implements a mark-and-sweep
collector. On the other hand copying collectors seem to be more
common. Some examples I've come across for copying collectors are:
Ulm-Oberon, Modula-3 and (ISE)Eiffel.
Does anyone know how interaction interfacing to other languages is done? eg:
if we call a C routine that malloc's from an Oberon program.
Another problem is returning memory to the OS.
I assume these problems have been resolved in Oberon System implementation -
does anyone know details?

btw, I've come across some incomplete Oberon source for a register-allocator
at: ftp://huxley.inf.ethz.ch/pub/CB2/GraphColoring.Text
I'm not sure but it seems to be an allocator for an SSA based format so
it might be useful.

Guy.