Comment by tlavoie
DuskOS apparently runs on ARM, so one of these vape boards running FORTH would likely feel very roomy indeed.
DuskOS apparently runs on ARM, so one of these vape boards running FORTH would likely feel very roomy indeed.
Allow me to brag about romforth (https://github.com/romforth/romforth) which I ported to the "3c" Padauk and can run on really small rom/ram microcontrollers. Caveats: - tested only on an emulator SDCC/ucsim_pdk, not on real hardware - given how small the ram is, there is no user dictionary but new words can be defined and tested using what the Forth folks refer to as "umbilical hosting".
OK, so we'd play with zForth then, as BogdanTheGeek notes here. That reminds me, I have a Scamp board sitting here on my desk that I really should play with more. https://udamonic.com/what-is-a-scamp.html
"we'd", you mean in a collapse scenario? Forths are, by nature, "collapse-friendly", but one particularity with Collapse OS and Dusk OS is that they are fully self-hosted. This includes the tools necessary to improve upon themselves.
From a quick glance, it looks like BogdanTheGeek's Forth is written in C, which means that it's not self-hosted. If all you have is that disposable vape with this Forth in it, you lack the tools to deploy it on another machine or to improve it in place.
One could also port Collapse OS to ARM. I guess it wouldn't be a very big effort.
I have ported zForth to an even weaker chip, the famous 10c risc-v micro ch32v003 (16k flash, 2k ram) so no issue running on this: https://github.com/BogdanTheGeek/zForth