Sujet : Re: The joy of FORTH (not)
De : 186283 (at) *nospam* ud0s4.net (186282@ud0s4.net)
Groupes : comp.os.linux.misc alt.folklore.computersDate : 24. Oct 2024, 03:13:49
Autres entêtes
Organisation : wokiesux
Message-ID : <quOcnbrmIvzAMIT6nZ2dnZfqn_SdnZ2d@earthlink.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 10/23/24 8:46 PM, Lawrence D'Oliveiro wrote:
On Wed, 23 Oct 2024 22:25:37 -0000 (UTC), Waldek Hebisch wrote:
Makers of RP2040 intend it as Micro-Python board, but AFAIK Micro-Python
is much slower and larger than Forth.
Still, it seems able to do the job rather well.
NOW ... but not "then" ..... everybody has become
spoiled by fast CPUs with lots of memory. This
is not ubiquitous though, many microcontroller
projects may still have to deal with very very
tight resources/speed.
Still, for MOST uses I'd rec a good 'C' compiler
and/or some ASM. 'C' compilers can be VERY tight
these days if you set all the right flags, maybe
tighter than some hand-coded ASM.
Of course something like the PIC-12x series are
too tiny for even FORTH.
But if you want/need an interpreter ... FORTH may
still be your best choice for such environments.
Even MicroPython is a fat pig compared to FORTH.
I like the Pic12x units because you can program
them to emulate two or three of the (faster)
74HC logic chips, add a little pre-processing
IQ for even cheaper than the 74HC chips.
ANYway, I'd say there may still be some joy in
FORTH ... if you're open to the experience.