Why Forth?

General Chit Chat about Sinclair Computers and their Clones
Post Reply
User avatar
gammaray
Posts: 590
Joined: Sun Apr 17, 2016 2:44 am
Location: Texas

Why Forth?

Post by gammaray »

Why Forth? Maybe some of our Forth programmers can comment on attached work by Charles Moore.
Attachments
POL.pdf
(744.39 KiB) Downloaded 1818 times
5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Why Forth?

Post by mrtinb »

That's an interesting read. Some of it is a little too abstract for me - but great thoughts.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: Why Forth?

Post by Moggy »

A well written and well known piece by Forths creator and I find myself in agreement with him perhaps because I share his bias for the language and its powerful simplicity,even though modern computer languages such as Python etc have supplanted it in academic use leaving Forth as a language used largely in embedded/automated systems.


Speaking as a Forth dabbler on the Raspberry Pi and a ZX81 fitted with a Forth ROM I have to say that the ability to create powerful routines from simple words that run at a reasonable speed and have those same routines occupy a relatively small footprint is something I find very attractive.

The downside for myself and ,I suspect, a few others is that there are just too many dialects of what's supposed to be a common language in the wild, imagine if you will how ridiculous it would be having 10 different versions of Z80 assembler each incompatible with the other.

Find your dialect then stick with it is my advice.
I have some superb maths routines written in Gforth for the Pi but have more chance of becoming the next Pope than translating them to run on the ZX81.

For the ZX81 I use the British adaptation of the US created Pluri-Forth known as H4th seeing as it has an editor and comes with an instruction manual and has 32bit and some 64 bit functionality. There are a couple of other Forths available one being too slow to be useful and the other has no editor or instruction manual and cannot decide whether it's Fig or Camel Forth and lacks a lot of the Forth primitives of either dialect and the only program examples included with it although pretty decent are Jupiter Ace conversions written mostly in z80 assembler which rather negates the point of Forth programming I would have thought.

Also the lack of any graphical sophistication is something lacking in Forth which I suspect is off-putting to those whose main interest is game creation/playing rather than computing, otherwise Forth can be an interesting and diverting pastime.

Just my 2 cents worth as they say. :D
User avatar
msch
Site Admin
Posts: 106
Joined: Sun May 19, 2013 11:39 pm
Location: Frankfurt/M, Germany

Re: Why Forth?

Post by msch »

A short hint:

We have some forth-specific developments in the german ZX-TEAM which will be presented at our annual meeting in Mahlerts (March 9th-11th).

Speech / Human Voice with ZX81 + H4TH-ROM + Vdrive, MrX & MrZ (ZX-Heinz will show a demonstration and we will record this on video).

By the way: FORTH83 is supporting the ZX Microdrive - and with vdrive(zx) it is now possible to store on SD-Cards :-)
https://vdrivezx.com/vdrivezx/
Mathias

ZX-Team member and classic computer collector
User avatar
gammaray
Posts: 590
Joined: Sun Apr 17, 2016 2:44 am
Location: Texas

Re: Why Forth?

Post by gammaray »

https://vdrivezx.com/vdrivezx/

I can't load now. Anybody else? I think I have before...


My company is blocking these URLs since 8bit computer tech is a security risk. :D
5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM
User avatar
msch
Site Admin
Posts: 106
Joined: Sun May 19, 2013 11:39 pm
Location: Frankfurt/M, Germany

Re: Why Forth?

Post by msch »

Mathias

ZX-Team member and classic computer collector
Post Reply