by gricardo99
5 subcomments
- My favorite Tcl story is a little side note about how Tcl could have been the language of the web[1]
the founding of Netscape occurred at the same time I was deciding where to go in industry when I left Berkeley in 1994. Jim Clarke and Marc Andreessen approached me about the possibility of my joining Netscape as a founder, but I eventually decided against it (they hadn't yet decided to do Web stuff when I talked with them). This is one of the biggest "what if" moments of my career. If I had gone to Netscape, I think there's a good chance that Tcl would have become the browser language instead of JavaScript and the world would be a different place! However, in retrospect I'm not sure that Tcl would actually be a better language for the Web than JavaScript, so maybe the right thing happened.
Too humble Dr. Ousterhout! It would have been a far better language.1 - https://pldb.io/blog/JohnOusterhout.html
by smj-edison
0 subcomment
- Funny that Tcl was mentioned today. I've recently been hacking on jimtcl[1] (a small footprint implementation of Tcl) to make objects multi-threaded safe, as that's the core language that folk.computer[2] uses (the main authors are making the interpreter and reactive DB parallelizable rn, so I've been tinkering with how to reduce copying).
[1] https://github.com/msteveb/jimtcl
[2] https://folk.computer/
- Surprised no mentions of sqlite yet :) I've always associated Tcl with sqlite because of how much it is used in their test suite and how you can have a tcl interpreter as a virtual table. Very interesting and seemingly often overlooked little language.
- > Some content has been removed in the second edition of the book because of limits on the number of pages
Lol, wut? The literal only working "buy it now" link is to a PDF. Page limits my ass. Or maybe "Paperback: 660 pages" was dangerously close to the Devil himself springing forth from the pages and turning all your codebase into VBScript
- I have known about Tcl since the 1990s. I remember Stallman advising not use it. Maybe he did not like the license?
Yesterday, over 30 years later I was forced to write my first code. Noticed that a Cisco switch had an incredibly bad ssh implemtation, so to automate some commands I needed expect scripting. Expect is based on Tcl.
by 7thaccount
1 subcomments
- I own the first edition of this book and it's really good. I've written a few tcl scripts with it, but nothing major. Python just has the better ecosystem now for my needs. I might use tcl if I needed something really small though.
- Nice memories of having our own AOLServer like clone, Vignette, routinely writing extensions in C, and also why since 2003 I tend to avoid languages without JIT/AOT unless it is for banal OS and application scripting task.
by at_a_remove
0 subcomment
- I may have to learn its other half, Tk, as a side project of mine is starting to feel less like something I can pull off as a "wizard" on the command line. I had wrestled with wxPython many moons ago and, while I got through it, I felt like I had perhaps taken a wrong turn.
As a side note, while I have seen many UI elements over the decades, I cannot help but think that the wizard (or whatever you would like to call it) has somehow escaped being listed as a standard UI element. Perhaps it is too large to count for many.
by WillAdams
2 subcomments
- There is a source release at:
https://www.tcl-lang.com/software/tcltk/9.0.html
but I'm not seeing an easy binary download --- used to be that the availability of a pre-compiled version, nicely packaged which would install easily on one's platform of choice made it wonderfully accessible to new users.
Is that not a focus of the project these days?
by VWWHFSfQ
15 subcomments
- > this immensely flexible and versatile language
I would be interested to know if anyone ever built anything non-trivial that didn't turn into a complete mess due to TCL's general type-flimsyness and "everything is a string" philosophy.
- I had this book, it's well written.
by Fruitmaniac
2 subcomments
- Is Tcl still a thing? At my first job I extended with a set of data-processing commands.
- Best of the best. Bought it.