WHEN IS AN OBJECT NOT AN OBJECT

Date
1995-03-01
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
This paper describes an approach to designing and building new objects that can be flexibly and dynamically changed using either Tcl or C. This extension approach seeks to avoid the "chasm" found in migrating code from Tcl to C as it matures by freely mixing Tcl and C to create an object's subcommands. The approach differs from traditional Tcl object frameworks in that it retains familiar mechanisms used to create new toplevel Tcl commands. A secondary goal is to illustrate how object designers can encourage rich extension, by exposing object internals to change. To illustrate the technique, a simple data structure is extended to support sharing between multiple Tcl processes.
Description
Keywords
Computer Science
Citation