News for hackers. Stuff that matters.
Re:Schrödinger’s Tcl – Values that differ if you look at them by tyingq on Sunday September 17, 2017 @09:38AM (#15269522)
When it was popular, the 2 big drivers were:

- The cross platform UI, Tk. Even if you didn't like Tcl, it was, for a while, one of very few open source ways to get a UI that worked on a variety of platforms. Many things, mostly the web, killed this need. Also, there are Tk bindings for other languages now.

- Dead simple, lightweight, way to embed a user facing scripting engine into your application. Especially when the end user might be "technical", but not a developer by trade. This is still a need, but it looks like people are turning to Lua, Javascript, etc. Tcl is still embedded in a lot of hardware devices though...cisco routers, F5 load balancers, etc.

Edit: Related trivia. TCL's inventor, John Ousterhout, was also one of the co-creators of the raft consensus algorithm.

Re:Schrödinger’s Tcl – Values that differ if you look at them by moomin on Sunday September 17, 2017 @10:41AM (#15269818)
The thing is: I know what I think of TCL now, and I know what I thought of it at the time. They're pretty different.

I think ultimately we've come the conclusion that whole design space isn't that productive. Pervasive string expansion in an era of untrusted input probably killed it for the web before it even began.

Re:Schrödinger’s Tcl – Values that differ if you look at them by kazinator on Monday September 18, 2017 @10:06AM (#15276025)
> Also, there are Tk bindings for other languages now.

However, these drag in the entire Tcl implementation as a dependency. IIRC some of the ttk widgets are written in Tcl, at least partially: https://github.com/tcltk/tk/blob/master/library/ttk/treeview...

It's a very ugly thing; I'd never drag this into a programming language as a prominent "this is the go-to way to do UI listed in FAQ #3" package.

You really want to confine a Tcl/Tk UI to its own process so all that string churning is happening in its own address space.