Overview
| Artifact ID: | cb239ff7168161fff5725a713b76833e64a46191 |
|---|---|
| Ticket: | 219316ffffffffffffffffffffffffffffffffff
Garbage collection of object oriented Tcl commands |
| User & Date: | ferrieux on 2009-07-15 19:34:37 |
Changes
- icomment:
OK. But let's prepare to hear again from people we dismissed with a swing of the EIAS club during the NULL cacophony... About (c) explicit refcounting and (d) var-binding: To me, (c) is just as manual as hand-destroying, so counts as (a). And (d) is already what (b) does, but with only a subset of active references (ie not counting references from within other Tcl values), so it will break even more respectable containers like lists and dicts. Eeeek ! As for TclNAP, a cursory examination doesn't cleraly separate it from Feather-like "fragile" values, with just the extra tool of a script-level access to refcount-bumping (which I find rather ugly: better keep true references, so that you can enumerate them). So yet another variant of (b). Bottom line: you're about to open the Pandora Box. It will work "in practice", but Tcl will lose its soul...
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"