Two years with TkMan: lessons and innovations or, everything I needed to know about Tcl/Tk I learned from TkMan

  • Authors:
  • Thomas A. Phelps

  • Affiliations:
  • Department of Electrical Engineering and Computer Science, Computer Science Division, University of California, Berkeley

  • Venue:
  • TCLTK '98 Proceedings of the 3rd Annual USENIX Workshop on Tcl/Tk - Volume 3
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

Among Tcl/Tk applications, TkMan is unusual. Whereas Tcl was written to glue together C functions, TkMan is written entirely in Tcl. And TkMan is the beneficiary of years of battle testing by 1000s of users on every flavor of UNIX. The extreme position created by the demands of this large, diverse audience and the (self-imposed) limitation of remaining strictly within Tcl brought to the fore a severe set of implementation issues, and provoked a variety of solutions ranging from general methods to a low-level bag of tricks with regard to speeding up Tcl scripts, exploiting Tcl as its own scripting language, configuring applications and interoperating with other tools. Although developed to meet these particular, extreme requirements, most of the resulting solutions can be broadly applied, and this paper shares this lore with the aim of helping other authors develop elegant, efficient and robust Tcl/Tk-based applications.