5 ms·
Is Tcl having a revival? Anybody know where Tclers hang out online?
by dingnuts 1y ago
Is Tcl having a revival? Anybody know where Tclers hang out online?
- 7thaccount 1y agoThey did have a recent language update after awhile. That may have triggered some folks to look into it again. There is sometimes a HN effect where an initial post triggers some interest amongst enough users to get us new posts for a few weeks and then things tend to die off again. I've seen this with a lot of the more obscure languages like APL. It would be cool to have a Tcl revival though (although I don't see it happening - I'm not in the community though so hopefully someone more informed can post). The language itself seems more capable than most give it credit for. I'm more of a Python fan myself, but can appreciate Tcl after reading through a book on it and writing a few scripts.
- bandoti 1y agoI highly recommend The Tcl Programming Language: A Comprehensive Guide: https://www.magicsplat.com/ttpl/index.html https://www.magicsplat.com/ttpl/index.html For those who are not aware, Tcl is actually part of standard Python distribution through TKinter. There are many things Tcl has built in that are quite amazing, like a robust virtual filesystem support, reflective channels, and less known these days Starpacks (stand alone runtime) that bundle sources with the binary. I am current working on bringing back kitcreator for an AI project that uses Tcl as a scripting environment over llama.cpp. https://github.com/tclmonster/kitcreator https://github.com/tclmonster/kitcreator Roy Keene is the original author, and has done some really clever stuff here, like encrypting the VFS appended to the executable. I added compression to this. It provides some manner of obfuscating sources. And actually, I am also working on using tohil to compile a static Python and load it as a Tcl extension, with the goal to have standalone Python applications bundled with their sources and completely loadable from within the VFS. This will provide a means to bundle TKinter with a “frozen” Python app. https://github.com/tclmonster/tohil https://github.com/tclmonster/tohil
- 7thaccount 1y agoThe previous edition of that book is the one I read lol. A great book. You can really feel the author's love of the language.
- sph 1y agoThank you and GP for the recommendation, just bought the book, seems pretty good! Now I wonder whether it's a good idea to replace my shell with tclsh... seems a lot more sane than bash/zsh.
- 7thaccount 1y agoBash is pretty good for really small scripts. Anything bigger and I have reached for Perl, Python, or Tcl in the past ... depending on what IT had installed on the server.
- bandoti 1y agoDefinitely would be interesting to use it in that way! The nice thing about Tcl is the syntax is clean (in brevity and understanding). Basic features like piping, file globbing, encoding conversions, compression, and so-forth are intuitive. If you’re interested, I have various Tclkits available for download on GitHub. I have added dependencies to them like TLS for HTTPS and so-forth. It can be convenient to have them standalone; the TLS extension here is bundled with the ca certs from libcurl. https://github.com/tclmonster/kitcreator/releases/latest https://github.com/tclmonster/kitcreator/releases/latest And here’s an example how I use the kits in the CI build. It uses the kit it builds to push the update using the TLS extension along with the GitHub REST API: https://github.com/tclmonster/kitcreator/blob/main/.github/scripts/create-release.tcl https://github.com/tclmonster/kitcreator/blob/main/.github/s...
- mhd 1y agoThe Wiki[1] is one of the primary "hang out" spots, although it's a bit different from usual online communication. But there's a lot of mutual commenting, small articles and utilities etc. on there. [1]: https://wiki.tcl-lang.org https://wiki.tcl-lang.org or https://wiki.tcl.tk https://wiki.tcl.tk
- ofrzeta 1y ago"The European OpenACS and TCL/Tk conference will be in Bologna/Italy/Europe on July 10 & 11 2025." - this is crazy. Seems there are still people using OpenACS in 2025.
- msephton 1y agoI last got help on the IRC channel (bridged to Slack, because I don't know IRC). In the most recent big version update there was what I'd consider a breaking change regarding text encoding handling, but it was possible to go back to the old behaviour with an additional parameter .
- deleted 1y ago[deleted]
- monetus 1y agor/TCL is worth a mention
- pjmlp 1y agoI worked on a startup whose main language was Tcl, between 1999 and 2002, since then I hardly touched Tcl again. Yet it has a special place on my heart and was one of the interpreters easiest to extend, in regards to the FFI API.
- f1shy 1y agoIf you work with VHDL or Verilog tools, it is very well alive and kicking. Forums about HDLs are full of it.
- IshKebab 1y agoIt is unfortunately entrenched in the EDA industry. I have absolutely no idea why you would use it if you don't work in that space.
- sokoloff 1y agoBecause it works. I introduced it into some of our release tooling in the mid-2000s. Easy to integrate, easy to understand, unsurprisingly good string/text handling, expect was very useful, and it’s not going to be used by anyone else, so no worries about version conflicts. It ran successfully largely unchanged for around a decade.
- IshKebab 1y agoEverything works. PHP works. Perl works. Bash works. I like to use tools that more than merely work. There's a reason nobody outside EDA uses it.
- _mlbt 1y agoIt’s included with Python in the form of Tkinter, the MacPorts package manager is written in it, and it’s also used by Cisco IOS for scripting.
- IshKebab 1y agoJust FYI when people say things like "nobody like this" or "everybody does that" they don't literally mean 100.00%.
- RHSeeger 1y agoIt is, for many people, an absolute pleasure to work in.
- cmacleod4 1y agoStrange, I've been attending the EuroTcl conferences for a few years now, I don't remember any of the presentations I've seen being related to EDA - https://www.eurotcl.eu/pastevents.html https://www.eurotcl.eu/pastevents.html :-/