News for hackers. Stuff that matters.
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.