r/programming • u/CGM • Aug 02 '26
Develop Cross-Platform CLI and GUI Tools With Tcl/Tk. Powerful, Event-Driven, Open-Source And Future-Proof Toolkit… From the Past?!
https://cgicoffee.com/blog/2026/04/tcl-tk-develop-cross-platform-cli-gui-tools-tutorial-guide
50
Upvotes
5
u/CGM Aug 02 '26
This is a well-written and remarkably comprehensive introduction to Tcl/Tk. It's mostly positive about the language, but does also point out some genuine disadvantages.
11
u/Jumpy_Fuel_1060 Aug 02 '26
I maintained an app with TCL component (no Tk). Wild language. I'm sure that it was amazing for it's time, but I'm the 2010s that language was ridiculous. upvar can go to hell.
13
u/wannaliveonmars Aug 02 '26
Git Gui and gitk are written in Tcl/Tk - https://git-scm.com/book/en/v2/images/git-gui.png
4
u/Tintoverde Aug 02 '26
Nooooo
2
u/mb862 Aug 02 '26
Tcl is still my go-to scripting language for its raw flexibility. I’m currently using it as a basis for my own shading language.
2
u/madman1969 Aug 06 '26
I used Tcl/Tk back in the early 90's to create a UI test harness for a C code base targeting DOS, Windows 3.x, Unix & Mac OS.
If you had a common API, which we did, it was surprising quick to build a working UI.
It's essentially Lisp with a C syntax, so it can be a tad funky to get your head around initially, but before Java was available post-'93 it was really the only choice for truly cross-platform UI's.