[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Difference between guardian and finalizer
From: |
Zhu Zihao |
Subject: |
Difference between guardian and finalizer |
Date: |
Sun, 05 Dec 2021 14:10:47 +0800 |
User-agent: |
mu4e 1.6.10; emacs 27.2 |
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
Zihao
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Difference between guardian and finalizer,
Zhu Zihao <=