Tcl/Tk 9.0 Release Highlights and Incompatibilities
Tcl/Tk 9.0 introduces 64‑bit data, full Unicode, a zip‑file system, Starkit‑style deployment, an epoll/kqueue‑based notifier and many new commands, while Tk adds OS facility access, scalable vector graphics, image metadata with alpha support and enhanced gestures, but breaks several 8.x behaviours such as namespace variable resolution, I/O error handling, tilde expansion and tcl_precision formatting.
Tcl/Tk 9.0 has been released, bringing many new features but also some incompatibilities with the 8.x series.
Tcl is a script language created by John Ousterhout, widely used for rapid prototyping, scripting, GUI, and testing.
Key new features of Tcl 9.0 include:
64‑bit capacity for data values larger than 2 GB.
Full Unicode support with extended code‑point ranges and new encodings.
Zip file system that can mount zip archives as a file system.
Starkit‑style application deployment, allowing files to be bundled with executables.
A new notifier built on epoll/kqueue (fallback to select).
Numerous new commands and functionalities.
Important incompatibilities:
Namespace variable name resolution now defaults to the current namespace, not global.
I/O malencoding now raises an error by default.
Tilde (~) in path names no longer expands to the home directory.
The tcl_precision variable no longer affects numeric formatting.
Tk 9.0 also adds OS facility access, scalable vector graphics, full image metadata and alpha channel support, and enhanced platform gestures.
Download the source at https://www.tcl-lang.org/software/tcltk/download.html and see the full announcement at https://www.tcl-lang.org/software/tcltk/9.0.html?post=new .
Java Tech Enthusiast
Sharing computer programming language knowledge, focusing on Java fundamentals, data structures, related tools, Spring Cloud, IntelliJ IDEA... Book giveaways, red‑packet rewards and other perks await!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.