Tcl, short for Tool Command Language and pronounced "tickle", was created by John Ousterhout at the University of California, Berkeley, starting in 1988. He wanted one small interpreter that any program could embed instead of inventing its own clumsy command syntax. The key decision, and the answer to why everything is a string in Tcl, follows from that goal: if every value is a string, any C program can pass data to the interpreter and back without negotiating types.
Origins at Berkeley
Ousterhout's group built interactive tools for integrated circuit design, including the Magic VLSI layout editor. Each tool needed a command language, and each one ended up with a weak, half-finished one. Around the winter of 1987–88 he decided to write a reusable interpreter as a C library. Tcl was presented publicly at the USENIX Winter Conference in 1990, and by then it was already spreading across Unix labs.
The companion GUI toolkit, Tk, followed soon after and was publicly available by 1991. Tcl/Tk made it possible to build an X11 window with buttons in a dozen lines, at a time when Motif programming took hundreds. That alone won Tcl a large audience.
Sun Microsystems hired Ousterhout in 1994 to push Tcl further. In 1998 he left to found Scriptics (later Ajuba Solutions), and in 2000 stewardship passed to the community-run Tcl Core Team. Tcl/Tk received the ACM Software System Award in 1997.
Why everything is a string in Tcl
Tcl's grammar fits on a page; the official rules are known as the "Dodekalogue". A script is a sequence of commands, each command is a list of words, and the first word names the command. Square brackets run a nested command and substitute its result, $ substitutes a variable, and braces quote text without substitution. Even if, while and proc are ordinary commands that receive strings, so you can write your own control structures.
Treating all data as strings made embedding trivial and the language extremely regular, but early versions paid for it in speed, re-parsing numbers on every use. Tcl 8.0 (1997) fixed most of that with a bytecode compiler and a dual-representation Tcl_Obj: a value keeps a cached internal form, such as an integer or list, while still behaving as a string whenever you look at it.
A short Tcl example
proc greet {name {greeting "Hello"}} {
return "$greeting, $name!"
}
set langs 1,740 sites · page 30 of 35Website IP Address Submit Website Featured 91.108.119.105 Claude Featured Not updated yet Semrush Featured Not updated yet Symbaloo Not updated yet Tagzania Not updated yet Technorati Not updated yet Tildes Not updated yet Unmark Not updated yet Upstract Not updated yet We Heart It Not updated yet Yoolink Not updated yet ZEEF Not updated yet 1500 Days Not updated yet 20-Something Finance Not updated yet AdEspresso Not updated yet AdRoll Blog Not updated yet Adweek Not updated yet AffiliateWP Blog Not updated yet Ahrefs Blog Not updated yet AJ's Networking Not updated yet All in One SEO Blog Not updated yet AllBusiness Not updated yet AR Insider Not updated yet Astra Blog Not updated yet aThemes Not updated yet Authority Hacker Not updated yet AVC Not updated yet AWeber Blog Not updated yet Baby Budgeting Not updated yet Backlinko Not updated yet Battelle Media Not updated yet Beaver Builder Not updated yet Becoming Minimalist Not updated yet Beebom Not updated yet Blind Five Year Old Not updated yet Bloggers Passion Not updated yet Blogging From Paradise Not updated yet Blogging Guide Not updated yet Blogging Wizard Not updated yet BoardingArea Not updated yet Born Fitness Not updated yet Botify Blog Not updated yet Brevity Magazine Not updated yet Brian Solis Not updated yet Buffer Not updated yet Business Bloomer Not updated yet Business901 Not updated yet Campaign Monitor Blog Not updated yet Caribbean Media Vision Not updated yet Chris Ducker Blog Not updated yet Chris Lema Not updated yet ClickZ Not updated yet CloudTweaks Not updated yet
✓ Links verified Oct 24, 2026
foreach lang $langs {
puts [greet $lang]
}
puts [string length "everything is a string"]
Note that the list built by list is still a string you could print, split or store in a file, then read back as a list later.
Where Tcl is used today
Tcl is less visible than Python, but it is deeply embedded in some industries:
- Electronic design automation: tools from Synopsys, Cadence, Siemens EDA and Xilinx/AMD use Tcl as their scripting interface, so chip designers write Tcl daily.
- Networking: Cisco IOS includes a Tcl shell, and F5's iRules for BIG-IP load balancers are written in a Tcl dialect.
- Expect, written by Don Libes at NIST around 1990, automates interactive programs such as
ssh,ftpandpasswd. - Tkinter, Python's standard GUI library, is a wrapper around Tcl/Tk, so every Python installation with Tkinter carries a Tcl interpreter.
- Web servers such as AOLserver and its successor NaviServer, plus testing frameworks like DejaGnu and the SQLite test suite.
Versions timeline
| Year | Release | Notable change |
|---|---|---|
| 1988 | First versions | Embeddable interpreter at Berkeley |
| 1997 | Tcl 8.0 | Bytecode compiler, Tcl_Obj |
| 1999 | Tcl 8.1 | Unicode strings, threads |
| 2007 | Tcl 8.5 | Dictionaries, argument expansion, ttk themed widgets |
| 2012 | Tcl 8.6 | TclOO, coroutines, non-recursive engine |
| 2024 | Tcl 9.0 | 64-bit sizes, full Unicode range |
Influence and legacy
Tcl had a famous critic: Richard Stallman's 1994 Usenet post "Why you should not use Tcl" set off the so-called Tcl War and helped push GNU toward Guile. Ousterhout answered with a broader argument, later published in IEEE Computer in 1998 as "Scripting: Higher Level Programming for the 21st Century", which made the case that scripting languages and system languages serve different jobs. That essay is still cited in discussions of language design.
Tcl's idea of an embeddable, tiny interpreter set the pattern Lua later perfected, and its event loop and fileevent model predated the async style that became popular decades later. If you want to understand why everything is a string in Tcl, think of it as a design for glue: strings are the one format every program already understands.
Frequently asked questions
Does everything being a string make Tcl slow?
Not much since Tcl 8.0. Values keep a cached internal representation, so an integer stays an integer until you treat it as text. Tcl compiles procedures to bytecode, which puts it roughly in the same performance range as other classic interpreted scripting languages.
Why do chip design tools still use Tcl?
EDA vendors adopted Tcl in the 1990s because it was easy to embed in large C and C++ applications. Decades of design flows, scripts and training are now written in it. Switching would break customer workflows, so Tcl remains the standard command interface.
Is Tkinter in Python really Tcl?
Yes. Tkinter loads a real Tcl interpreter and sends it Tk commands behind the scenes. That is why Python distributions bundle Tcl/Tk libraries, and why Tkinter errors sometimes mention Tcl.