emacs-devel
[Top][All Lists]
Advanced

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

Re: using finalizers


From: Tomas Hlavaty
Subject: Re: using finalizers
Date: Sat, 01 Jan 2022 18:59:37 +0100

On Fri 31 Dec 2021 at 22:39, LdBeth <andpuke@foxmail.com> wrote:
> If you mean you are looking for a finalizer interface similar to what
> Common Lisp's trivial-garbarge library provides, there was one in
> Emacs Lisp before `make-finalizer' was provided.
>
> https://nullprogram.com/blog/2014/01/27/
>
> Both that one and trivial-garbarge are based on weak references.
> However that is actually not very good because that impose a lot of
> jobs on GC, at least for Emacs the garbage collector is not as good as
> many Common Lisp's ones.

yes, that seems like the thing I was after
thanks for the material for further study



reply via email to

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