Testing if the implementation can support weak pointers
    Luís Oliveira 
    luismbo at gmail.com
       
    Mon Jul 29 18:37:56 UTC 2019
    
    
  
Hi,
On Mon, Jul 29, 2019 at 9:08 AM Name Here <theemacsshibe at gmail.com> wrote:
> If there isn't such a test, I have written a trivial implementation, simply gathering all the #+ forms to choose a constant to return: https://github.com/nodefunallowed/trivial-garbage/blob/master/trivial-garbage.lisp#L105 Again, this is probably good for a class of programs that uses weak pointers in a way that isn't strictly necessary but very useful.
Every single Lisp currently supported by trivial-garbage does in fact
support weak pointers. (We emulate them in CCL, though.) Did you
notice this? Are you trying to future-proof your code?
-- 
Luís Oliveira
http://kerno.org/~luis/
    
    
More information about the trivial-garbage-devel
mailing list