Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

When is an object not an object?

Mark Roseman, University of Calgary

This paper describes an approach to designing and building Tcl extensions that can be flexibly and dynamically changed using either Tcl or C. In particular, extensions having an object-based interface are considered. 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, and emphasizes extensions holding much of their data at the C level. A secondary goal is to illustrate how extension authors can encourage rich customization, by exposing object internals to change. To illustrate the technique, a simple data structure is extended to support sharing between multiple Tcl processes.

Mark Roseman, University of Calgary

BibTeX
@inproceedings {260392,
author = {Mark Roseman},
title = {When is an object not an object?},
booktitle = {USENIX Third Annual Tcl/Tk Workshop ( USENIX Third Annual Tcl/Tk Workshop)},
year = {1995},
address = {Toronto, Ontario},
url = {https://www.usenix.org/conference/usenix-third-annual-tcltk-workshop/when-object-not-object},
publisher = {USENIX Association},
month = jul
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/tcl95/full_papers/roseman.ps
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us