TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Tcl 9.0

406 点作者 bch8 个月前

28 条评论

cmacleod48 个月前
The first major release in 27 years. 64-bit internal structures, so data can be huge. Full unicode with all the funky new emojis. Zip filesystems, etc., etc.<p>There&#x27;s lots of new stuff, and some old cruft has been dumped, so some programs may need a few updates, but there&#x27;s still a high level of compatibility. The page above links to release notes with details of what&#x27;s in and what&#x27;s out.
评论 #41662700 未加载
评论 #41662262 未加载
buescher8 个月前
Language snobs and 1990s OO snobs really love to hate on tcl - yeah everything is a string or a command, and the OO extensions were kind of kludgy - but there&#x27;s a design ethos to the ecosystem that is really special. Ditch tkinter, which is basically writing python to write tcl, and try doing a GUI in straight tcl&#x2F;tk. Try the sqlite interface. Write a modest C extension or wrap a library. So much of it just works.
评论 #41668697 未加载
评论 #41667081 未加载
评论 #41666132 未加载
评论 #41670084 未加载
Karrot_Kream8 个月前
&gt; New Notifiers: The central event handling engine in Tcl is now constructed on top of the system calls epoll or kqueue when they are available. The select based implementation also remains for platforms where they are not.<p>This is huge! A big portion of why concurrency in Tcl was so dated and why the language was considered so non-performant was because it relied on `select` despite `epoll` and `kqueue` being available for at least a decade.<p>Tcl is one of my favorite languages because of how easy it is to get started with and how easy metaprogramming is.
评论 #41663878 未加载
doublerabbit8 个月前
I&#x27;m going to give a shout out to NaviServer [0], prior called AOLServer [1]. This web server has been battle-tested and is bullet proof. When something has been used power AOL back in the day, what can you say.<p>OpenACS [2] is the main project of, which has existed since 1997 and that alone is highly powerful in what it can do with. Especially when coupled with TCL. It&#x27;s still maintained and now supports TCL9 too!<p>Javascript, TCL and NaviServer (and which has it&#x27;s own modules such as DNS Server, LDAP, Mail really makes an powerful tool.<p>If you&#x27;re looking to get in to TCL and Web Development, you can really create fun with the two combined. I highly recommend that if you wish to dabble with something on the side for easy learning and plentiful features. Go take a look.<p>[0] <a href="https:&#x2F;&#x2F;wiki.tcl-lang.org&#x2F;page&#x2F;NaviServer" rel="nofollow">https:&#x2F;&#x2F;wiki.tcl-lang.org&#x2F;page&#x2F;NaviServer</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;naviserver-project&#x2F;naviserver">https:&#x2F;&#x2F;github.com&#x2F;naviserver-project&#x2F;naviserver</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35648805">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35648805</a><p><a href="https:&#x2F;&#x2F;www.linuxjournal.com&#x2F;article&#x2F;6164" rel="nofollow">https:&#x2F;&#x2F;www.linuxjournal.com&#x2F;article&#x2F;6164</a><p>[2] <a href="https:&#x2F;&#x2F;openacs.org&#x2F;about&#x2F;history" rel="nofollow">https:&#x2F;&#x2F;openacs.org&#x2F;about&#x2F;history</a><p><a href="https:&#x2F;&#x2F;openacs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;openacs.org&#x2F;</a>
评论 #41664360 未加载
breck8 个月前
For those that are new to Tcl, there&#x27;s an alternate universe where Tcl is the browser language instead of Javascript:<p>&quot;Interesting footnote: 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&#x27;t yet decided to do Web stuff when I talked with them). This is one of the biggest &quot;what if&quot; moments of my career. If I had gone to Netscape, I think there&#x27;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&#x27;m not sure that Tcl would actually be a better language for the Web than JavaScript, so maybe the right thing happened.&quot;<p>Source: <a href="https:&#x2F;&#x2F;pldb.io&#x2F;blog&#x2F;JohnOusterhout.html" rel="nofollow">https:&#x2F;&#x2F;pldb.io&#x2F;blog&#x2F;JohnOusterhout.html</a>
评论 #41662637 未加载
评论 #41663153 未加载
评论 #41663567 未加载
评论 #41663104 未加载
评论 #41663386 未加载
sedatk8 个月前
I can&#x27;t overstate my love for Tcl, yet I had only a little chance to use it when writing XiRCON IRC scripts back in the late 90&#x27;s. Such an elegant language: simple, easy to learn, flexible. I call it Lisp for humans. I wish it were more popular. So glad to see that it&#x27;s still alive and kicking.
评论 #41663770 未加载
评论 #41673133 未加载
评论 #41665398 未加载
teleforce8 个月前
Fun facts, the author of Tcl and tk is Prof. John Ousterhout, and his Software Design book is in its 2nd edition:<p>A Philosophy of Software Design:<p><a href="https:&#x2F;&#x2F;web.stanford.edu&#x2F;~ouster&#x2F;cgi-bin&#x2F;book.php" rel="nofollow">https:&#x2F;&#x2F;web.stanford.edu&#x2F;~ouster&#x2F;cgi-bin&#x2F;book.php</a>
评论 #41670159 未加载
bachmeier8 个月前
Really enjoy the language, even if I don&#x27;t use it much these days. Does it still produce GUIs from 1995 on Linux? I&#x27;d still be using it today if it had halfway reasonable support for building GUIs on Linux, like they&#x27;ve had for ages on other platforms.
评论 #41664155 未加载
评论 #41664844 未加载
Klonoar8 个月前
The only time I’ve dealt with Tcl in recent memory was for some MacPorts portfile stuff.<p>Anybody using it for something else and can speak to why you’d use it today? Genuinely curious; I don’t hate the language but can never bring myself to enjoy it either.
评论 #41662666 未加载
评论 #41662708 未加载
评论 #41662605 未加载
评论 #41662898 未加载
评论 #41663042 未加载
评论 #41665687 未加载
评论 #41662514 未加载
评论 #41662968 未加载
评论 #41662755 未加载
评论 #41667358 未加载
评论 #41667128 未加载
评论 #41662597 未加载
评论 #41663094 未加载
评论 #41662522 未加载
评论 #41664069 未加载
评论 #41662454 未加载
评论 #41664421 未加载
评论 #41662701 未加载
评论 #41663076 未加载
评论 #41662469 未加载
评论 #41663065 未加载
评论 #41662836 未加载
评论 #41663270 未加载
fithisux7 个月前
More important than Python 3.13.<p>Bravo !!!!<p>Can&#x27;t wait Scilab and Python to ship with Tcl&#x2F;Tk 9.0<p>I think Next Scripting latest releases are 9.0 ready.<p>Keep an eye on Undroidwish and the Binary Releases section of the official page.
tpoacher8 个月前
I recently asked HN if Tcl is still relevant in 2024 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41108667">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41108667</a><p>Nice to see a new release coming out not too long after such a question :)
评论 #41779981 未加载
criddell8 个月前
Why are they still on SourceForge? To me, SourceForge feels like one of those scammy download sites that installs spyware.
评论 #41666232 未加载
评论 #41669916 未加载
urbandw311er8 个月前
Wow Tcl is still a thing? Takes me back to university days — and even 20 years ago it was considered a bit of a poor man’s UX. I’m off to read the article and see if it’s any better these days…
conoro8 个月前
Love reading this. I spent a few years in the late 90s using Tcl&#x2F;Tk to build cross-platform installers for Embedded tools&#x2F;libraries, along with Expect for a bunch of our testing. One of those pragmatic toolsets for getting sh*t done.
replwoacause8 个月前
So I started playing with TCL for the first time this weekend after seeing this post, and here are my thoughts. I think the language is fun and much different than I’m used to, but my biggest challenge so far is just getting packages installed. There seems to be no current, modern, maintained package manager or central repository, and to do basic stuff like stand up a web server requires compiling from C source. Kinda brutal. TclHttpd failed to compile with TCL 8.6 installed because I guess there was some change in APIs. I didn’t bother spending time figuring out how to patch the C code to make it work because that’s getting in for more than I bargained for.<p>It’s too bad there’s not a simple way to get up and running with packages because for me so far that had been the biggest barrier to entry &#x2F; deterrent. Also, I wanted to create a ES256 JWT but there’s no good way to do that apparently, due to the dated ecosystem, whereas in other languages this sort of this is just a package install away. I found a third-party solution in the form of Chilkat software but it costs $300 to license.<p>So overall while I think TCL is fun, I can see why people don’t choose it when they want to be productive fast and not have to fuss around with deeply manual things that are commonplace and quick in other languages.
评论 #41685464 未加载
评论 #41685522 未加载
kras1438 个月前
In the realm of Electronic Design Automation (EDA), TCL is ubiquitous. Virtually every EDA tool offers a TCL interface or API, making it the predominant language for tool configuration. I&#x27;ve always wondered why TCL hasn&#x27;t gained traction in other domains. It possesses the elegance of Lisp while maintaining practicality.
niobe8 个月前
Great to see all the love for TCL here :) Too bad it&#x27;s not more popular really but even I struggle to find cases where I&#x27;d prefer it. Usually it come down to bash for simple stuff and python everything else.
评论 #41665264 未加载
评论 #41665473 未加载
CarpaDorada8 个月前
It would be nice if the releases were cryptographically signed. I&#x27;ve never used Tcl&#x2F;Tk before but I just downloaded the 9.0 release and I&#x27;ll give it a go.
gorgoiler8 个月前
I know of Tcl but I don’t know anything about its structure. The number one thing I ask of a language is consistency: the minimal amount of magic and most of the language implemented in itself. Ruby almost got there and then, for me, slipped up on <i>class &lt;&lt; self</i>.<p>How does Tcl fare under these criteria?
评论 #41662794 未加载
评论 #41663380 未加载
评论 #41662907 未加载
sigzero8 个月前
Outstanding! I know a lot of work has gone into this release. Kudos to the TCT.
butz8 个月前
Tcl&#x2F;tk Wayland support when?
pipeline_peak8 个月前
Anyone know if any new projects are using Tcl? Surprised they went with this
评论 #41666775 未加载
replwoacause8 个月前
I’m looking forward to installing this and having a play. Looks great
synergy208 个月前
Tcl remains to be the king scripting language in chip design ecosystem
评论 #41668626 未加载
replwoacause8 个月前
Are there any good tcl web frameworks ?
评论 #41666180 未加载
评论 #41667679 未加载
urbandw311er8 个月前
It’s not exactly encouraging when a website for a UI tool contains absolutely no visual examples of UI on any of its main pages.
评论 #41664008 未加载
评论 #41664778 未加载
dontdieych8 个月前
Nice. `gitk` could be better.
tessierashpool98 个月前
is tcl relevant beyond maintenance of existing legacy projects?