News for hackers. Stuff that matters.
Re:This Old Lisp by kazinator on Friday October 19, 2018 @12:35PM (#18257899)
From a just purely internal POV, ANSI CL has documented unresolved issues that could be nailed down.

Example:

When a dynamic control takes place to a targeted exit point, when are the intermediate exit points (the ones scoped within that one) torn down? The spec says they could be torn down gradually as the control transfer unwinds, or they could be torn down before the control transfer initiates.

The difference is visible to the program: in an unwind-protect cleanup form, the intermediate exit points are still visible in the former implementation, but no longer visible in the latter implementation.

I'm generally in favor of everything being as late as possible; the points should stay visible while their scope has not been traversed yet. That way the intercepting handler has the maximum choice: though it intercepted a distant control transfer, less distant control transfers are still available to it.

In any case, 24 years is enough time to pick one behavior or the other and codify it. That's the proper job of a standard.

There are no comments on this comment yet.