News for hackers. Stuff that matters.
Re:Extending Tcl by bsder on Sunday May 13, 2018 @07:44PM (#17061666)
> When that happened JO went to found Scriptics, but it never got the traction it should (not helped being branded as "parasites" by Stallman)

The primary issue is that Tcl was a language designed on the wrong side of the memory cost divide. Many of the languages designed with "memory and CPU are expensive" got swept aside because newer languages that didn't make that assumption had a lot more features.

What is sad is that Tcl didn't STAY SMALL. In an era of 32K ROM/4K RAM microcontrollers, we don't really have a well-featured scripting language that works down there.

It also didn't help that Tcl went into a period of instability right as the Dot Com Boom/Crash went full tilt whereas Python, for example, was stable from 1997-2000 (A LOT of people standardized on 1.5 for a loong time)

And, as smart as he is, John Ousterhout was one of the big coding problems and getting him out of the codebase helped Tcl dramatically.

Re:Extending Tcl by blacksqr on Monday May 14, 2018 @08:19AM (#17064783)
If small Tcl doesn't exist, it becomes necessary to invent it:

http://jim.tcl.tk/index.html/doc/www/www/index.html

Re:Extending Tcl by sedachv on Sunday May 13, 2018 @11:25PM (#17062454)
> In an era of 32K ROM/4K RAM microcontrollers, we don't really have a well-featured scripting language that works down there.

What about Forth? http://www.forth.org/

Re:Extending Tcl by bsder on Monday May 14, 2018 @06:40AM (#17064309)
Just ... no. I'm trying to solve a problem, not play intellectual games for how to create stack threaded code.

I had really high hopes for Lua. But 1-based indexing when you're interfacing to C is just not flying. Apparently I'm not alone as Lua comes in at #9 on the "Dreaded" languages list:

https://insights.stackoverflow.com/survey/2017#technology-mo...

Re:Extending Tcl by sedachv on Tuesday May 15, 2018 @01:56AM (#17071939)
> 1-based indexing when you're interfacing to C is just not flying

That does not stop a lot of people. Not that it matters, because Lua will not run in 4KiB RAM.

Threaded code is a compiler/interpreter implementation technique. That makes as little sense as saying you won't use C, because you are "trying to solve a problem, not play intellectual games for how to create static single assignment code."

Instead of being an armchair programmer, you should actually try to learn those programming languages.