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

Re: Some modules from Modula-2



Hello Mike, on Dec 19 you wrote:

> > I don't think there's anything wrong with it either. Given an efficient
> > garbage collector, that is.
>
> Would your garbage collector be available for other back-end writers to use?
> Do you consider it an efficient garbage collector?

It's already LGPL'd, so anyone is free to use it. It's in 68K assembly, but
it is a direct implementation of the mark-and-sweep collector described in
the ETH Technical Notes. I do think its efficient, especially when there
isn't much garbage to collect. Informal observations show the mark phase is
very fast, with most of the time being spent in the sweep phase returning
memory blocks to the system.

Frank