unofficial mirror of 
 help / color / mirror / Atom feed
* Difference between guardian and finalizer
@ 2021-12-05  6:10 Zhu Zihao
  0 siblings, 0 replies; only message in thread
From: Zhu Zihao @ 2021-12-05  6:10 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

Guile now have both guardian and finalizer. Guardian API can be directly
accessed from Scheme, but finalizer API only available in (system foreign-object).

I see they're all based on the finalize mechanism of libgc, what's the
difference between them?

If I want to manage the destruction of a foreign pointer, which one is recommended?
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-05  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05  6:10 Difference between guardian and finalizer Zhu Zihao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).