Collecting native garbage

Luís Oliveira loliveira at common-lisp.net
Tue Oct 1 13:20:47 UTC 2013


On Tue, Oct 1, 2013 at 1:25 PM, Martin Simmons <martin at lispworks.com> wrote:
> IMHO, this is a misguided approach (see my replies to that thread) so it is
> probably good that there is no cookbook style guide :-)  You need to determine
> when the native objects are no longer needed by your code and free them
> explicitly.

Victor, what's your use case? Maybe it can serve as a good example of
how finalizers might be attractive and what an alternative solution
might look like.

Cheers,

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the cffi-devel mailing list