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

A Tcl to C Compiler

Forest R. Rouse and Wayne Christopher, ICEM CFD Engineering and the University of California at Davis

A Tcl compiler is described, which accepts Tcl code and generates C code as ouput. Each Tcl proc is converted into a C function that can be called as a Tcl command. This code is then compiled and linked with a special libtcl.a to create an executable. This compiler has passed all the Tcl tests, and has provided a speedup for realistic computationally-intensive applications between a factor of 5 and 10, and for simpler benchmarks up to a factor of 20. In this paper, we will discuss the compiler and the issues involved with compiling Tcl code, includ- ing suggestions for future changes to the language.

Forest R. Rouse, ICEM CFD Engineering and the University of California at Davis

Wayne Christopher, ICEM CFD Engineering and the University of California at Davis

BibTeX
@inproceedings {260382,
author = {Forest R. Rouse and Wayne Christopher},
title = {A Tcl to C Compiler},
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/tcl-c-compiler},
publisher = {USENIX Association},
month = jul
}
Download

Links

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

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us