[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "David A. Moon" <Moon@SCRC-STONY-BROOK.ARPA>
- Subject: GC, exit-to-system
- From: "Scott E. Fahlman" <Fahlman@C.CS.CMU.EDU>
- Date: Fri, 11 Jul 1986 02:28:00 -0000
- Cc: common-lisp@SU-AI.ARPA
- In-reply-to: Msg of 10 Jul 1986 20:56-EDT from David A. Moon <Moon at STONY-BROOK.SCRC.Symbolics.COM>
- Sender: FAHLMAN@C.CS.CMU.EDU
I've been thinking about the GC issue since it first came up. Even
though systems differ tremendously in what GC means to them, it might
make sense to provide a portable GC construct for use in portable code.
This would say that IF the implementation ever needs to do a time
consuming GC operation, this is the time to do it; if that doesn't make
sense in a given implementation, this would be a no-op. This would be
used in portable code that runs benchmarks, for example, to start the
system in as fresh a state as possible. It might also be used when a
program wants to initiate some short real-time operation that should not
be interrupted for GC once it has started. It's not useful for
everyone, but is useful in many systems and does not harm the rest.
I am somewhat more doubtful about the usefulness of BYE in any sort of
portable code. One could argue that it would give users a standard way
of getting out of Lisp on any system where that makes sense, and that it
always is best to have recognizable signs on the emergency exits.