5 ms·
> 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.for
by sedachv 8y ago
> 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/ http://www.forth.org/
- bsder 8y agoJust ... 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-most-loved-dreaded-and-wanted-dreaded https://insights.stackoverflow.com/survey/2017#technology-mo...
- sedachv 8y ago> 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.