October 9-13, 2006
|
|
We are pleased to announce the 13th Annual Tcl/Tk conference (Tcl'2006), sponsored by Noumena Corporation , Digital Smarties , Eolas Technologies and ActiveState .
A recent trend in corporate computing environments is the reimplementation of legacy systems on a Java based software platform. Significant long-term savings can be realized through use of a common software platform and tools, but the costs of software development and retraining of engineers remains high. If a legacy system can be ported to Java without having to rewrite existing code, then most software development and retraining costs can be avoided entirely. A large semiconductor manufacturer recently faced just such a challenge and decided to evaluate Jacl (Tcl interpreter written in Java) as a migration tool for a large legacy system implemented in Tcl. Jacl was found to be satisfactory in all areas except one, runtime execution speed. Native Tcl contains a runtime compiler and execution engine while Jacl supports only interpreted execution. As a result, native Tcl executes code from 10 to 50 times faster than Jacl. This paper introduces TJC, a Tcl to Java compiler that converts Tcl procs into Java bytecode and closes this performance gap. In many cases, TJC compiled Tcl code executes more quickly than the same code running in native Tcl. This paper describes the TJC compiler's initial design and implementation, demonstrates code generated for some simple examples, and details optimizations that have been implemented as the compiler has matured into production ready software. In addition, performance of TJC compiled code is compared to native Tcl and to other popular scripting languages implemented in Java.
Cyndy Lilagan | Eolas Technologies | Facilities Coordination |
Clif Flynt | Noumena Corp | General Chair |
Steve Redler IV | SR Technology | Program Chair |
Steve Landers | Digital Smarties | Program Co-chair |
Kevin Kenny | GE Global Research Center | |
Jeffrey Hobbs | ActiveState Corp | |
Andreas Kupries | ActiveState Corp | |
Ron Fox | NSCL Michigan State University | |
Donal Fellows | University of Manchester | |
Larry Virden | Tcl FAQ Maintainer | |
Mike Doyle | Eolas Technologies | |
Gerald Lester | HMS Software |
Last modified: June 06, 2007