[plt-scheme] precise GC and the embedded MzScheme C API

From: Adam Wick (awick at cs.utah.edu)
Date: Thu Jun 23 14:42:23 EDT 2005

On Jun 23, 2005, at 10:57 AM, Jim Blandy wrote:
> Have you thought about what sort of interface you'd like an embedded
> MzScheme to provide to third-party C code when it's using the precise
> GC?  Are you going to have end users run gc2/xform.ss on their code?

Yes and sort of.

There will be a successor to xform coming, hopefully, sometime this
year. It will not only do the xform stuff, which adds precise GC
information to the C stack, but also have a tool for generating
functions to mark and repair your structures, as well as to add
tagging information when you allocate structures (including your
own structures).

It should work on most C programs (the ones that don't play very
silly games with their stacks) and a small subset of C++ (no
templates, no exceptions, no namespaces; but classes and overloading
should work.).

This, by the way, is my dissertation research.


Posted on the users mailing list.