Chapter 51. Tcl/Tk 8.0

Tcl 8.0 includes an on-the-fly byte code compiler that improves performance of scripts from 2 to 20 times depending on what commands they use. The Tk version number was set to match Tcl. Tk 8.0 uses native buttons, menus, menubars, and scrollbars. Font objects allow flexible font handling in a platform-independent way.

Tcl 8.0 added a byte-code compiler that improves performance dramatically. The compiler is transparent to Tcl scripts so you do not have to do anything special to take advantage of it. The other main addition to Tcl is support of binary data. It is now safe to read binary data into Tcl variables, and new commands convert between strings and binary representations.

Tk 8.0 has native look and feel on UNIX, ...

Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.