[Top][All Lists]

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

Getting rid of compiled closures?

From: Dirk Herrmann
Subject: Getting rid of compiled closures?
Date: Tue, 5 Dec 2000 17:46:55 +0100 (MET)

Hello everybody,

as for now, the only use of compiled closures _within_guile_ is for gprocs
that have a signature that does not fit into a small standard subset of
signatures.  All other uses of scm_cclo, like eval closures and guardians
not use applicable smobs for their implementation.

However, for these gprocs it is not actually necessary to use a compiled
closure.  All information that is needed for their representation would
fit into a double cell.  The compiled closure implementation comes from
the time before there was the double cell possibility.  Now, they could
either be implemented using an applicable smob, or a tc7 code of their

If that was done, the concept of compiled closures could be removed from
guile.  Should this be done, and, if so, which implementation for gprocs
should be taken:  as a scm_tc7_subr_x code, or as an applicable smob?

Best regards,
Dirk Herrmann

reply via email to

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