guile-user
[Top][All Lists]
Advanced

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

Re: Using guile together with other GC languages?


From: Johan Georg Granström
Subject: Re: Using guile together with other GC languages?
Date: Mon, 11 Jun 2001 18:40:22 +0200

> > > Assume that I want to write a program in a combination of
> > > Guile, C, [Other GC language like SmallEiffel or Smalltalk].
> > > Then I would like Guile and SmallXXX to allocate memory
> > > on the same heap, is this possible to do in some way (from the
> > > Guile perspective)?
>
> > I'm not sure why you would want Guile and X to allocate on the same
> > heap.  this, of course, is not possible, but I think this is not
> > needed either.
>
> Define "same heap".  Guile gets free storage from 'malloc',
> same as most other C programs.
> > and yes, Guile's GC is supposed to coexist nicely with other memory
> > management schemes in the same process.
>
> But whether it actually works is sure to depend upon exactly
> what SmallXXX is doing.  I think the question can not be
> answered without a lot more details.

Ok. I was wondering if it possible to write objects in another
language with its own garbage collection (say SmallEiffel) and
use them from Guile. But now I realize that this is more dependent
on the other language than on Guile.

Regards,

- Johan Granström





reply via email to

[Prev in Thread] Current Thread [Next in Thread]