3 ms·
Forth also requires very minimal resources to implement which can be fun in constrained environments. Here it is on a TI-84+ calculator[0] or even a computer in
by siraben 4y ago
Forth also requires very minimal resources to implement which can be fun in constrained environments. Here it is on a TI-84+ calculator[0] or even a computer in The Powder Toy.[1]
The runtime design is a little quirky but straightforward and you can extend the system as you execute (or even change interpreter semantics), or add optimizations such as some form of JIT quite easily.
[0] https://github.com/siraben/ti84-forth https://github.com/siraben/ti84-forth
[1] https://github.com/siraben/r216-forth https://github.com/siraben/r216-forth
- 082349872349872 4y agoThe "constrained environment" is the rub. In the old days, supporting a time sharing dev environment for 30 users (with 2K dedicated memory each), or getting to a functional self-hosted prompt before the floppy drive spun up to full speed, or fitting a dev environment in a single jumbo packet, etc. were not only cool, but were technically required. We have megahertz and gigabytes and "embedded" systems with MMUs and filesystems at our disposal, so I'm guessing the time when forth was a solution has long since past.
- jgerrish 4y ago> the time when forth was a solution has long since past. It depends on the problem. If it's education, I'd argue Forth still has a place. Writing a Forth compiler is a manageable project for a single developer. Restricted resource creative projects, in code and other mediums, may help with teaching and creativity. I don't have research on that, and it isn't my idea, that credit should go to multiple others.
- 082349872349872 4y agodefo. preferably up through CREATE DOES> ...