Re: guile: going the way of DEATH

Andrew Archibald (aarchiba@calum.csclub.uwaterloo.ca)
13 Aug 1998 11:02:18 -0400

You mentioned the gh_ API.

Is it feasible to write a C extension using only the gh_ API?

How can one do this? All the examples I have looked at rely heavily
on the scm_ API.

For example, how would I go about producing a dyn-loaded C module
which defines a new SMOB using only gh_ calls? I know for a fact that
when a .so is loaded the (only) init function looked up is an scm_
call (scm_init_my_stuff_module).

I'd be very happy to see a nice simple gh_ API. I don't think it will
lead to any real degree of portabiliy, since other Schemes seem to
require more attention to GC.

Andrew