TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tcl/Tk 8.6 released (now stackless, w/coroutines, tailcalls, and more)

144 pointsby anovedover 12 years ago

7 comments

rikthevikover 12 years ago
Tcl Rule 1: Everything is a string. Tcl Rule 2: See rule 1. Tcl Rule 3: Not joking.
评论 #4950493 未加载
评论 #4950706 未加载
to3mover 12 years ago
The explicit tail calls look pretty neat. All languages should include this, or something like it, I think; tail calls come in handy for all sorts of things. Making it explicit sidesteps complaints about how it will impede debugging, and ensures programmers will definitely get it where they want/expect.<p>I think this would be a chance to rehabilitate the much-maligned GOTO keyword. But "tailcall" is probably just as good.
评论 #4950560 未加载
评论 #4950496 未加载
ademirarover 12 years ago
Congrats, Tcl/Tk team! A long wait, but it seems to be worth.
mitchiover 12 years ago
Is this the programming language that works without a lexer/parser and a grammar? Why aren't there more programming languages written this way? Seems easier to implement.
评论 #4950915 未加载
评论 #4950437 未加载
评论 #4950315 未加载
andrewcookeover 12 years ago
that's an impressive set of changes for a minor release! :o)<p>is there a paper that describes the underlying implementation (with the new stackless stuff)?
评论 #4950209 未加载
评论 #4950501 未加载
eijiover 12 years ago
The TIP#257[1] (Tcl Improvement Proposal) explains how rich and thought-out the TclOO component is. Endless possibilities. It's a nice read to learn more about OO-concepts like filters, mixins and meta-classes.<p>Some might ask how TclOO compares to iTcl's. For one the performance is in another league.[2](Version 0.3)<p>[1] <a href="http://www.tcl.tk/cgi-bin/tct/tip/257" rel="nofollow">http://www.tcl.tk/cgi-bin/tct/tip/257</a><p>[2] <a href="http://wiki.tcl.tk/18152#pagetoc16f40cc9" rel="nofollow">http://wiki.tcl.tk/18152#pagetoc16f40cc9</a>
sigzeroover 12 years ago
I lurk on the core list so I got to watch discussions relating to 8.6 stuff. It was pretty cool. There was a lot of thought about what went in and what needed to to be tweaked.