A Conversation for GG: Forth - the programming language
Peer Review: A2681868 - Forth - the programming language
Gnomon - time to move on Started conversation Jun 2, 2004
Entry: Forth - the programming language - A2681868
Author: Gnomon - U151503
This is an entry which I hope does justice to Forth, which is not my favourite programming language.
A2681868 - Forth - the programming language
Felonious Monk - h2g2s very own Bogeyman Posted Jun 2, 2004
I prefer it to *this* langauge: http://www.catb.org/~esr/intercal/stross.html * 10^6
A2681868 - Forth - the programming language
Woodpigeon Posted Jun 2, 2004
Hi Gnomon,
Excellent article as usual!
But, you write an article on Forth, and do not mention the Jupiter ACE? It appeared around the time of the ZX Spectrum and had a very brief life before disappearing just as quickly. Its passing should not be forgotten however..
Woodpigeon (who hasn't thought about the Jupiter ACE in 20+ years and is mystified how he could have retained such useless information for so long).
A2681868 - Forth - the programming language
Gnomon - time to move on Posted Jun 3, 2004
Hi WOodpigeon. I know that a few different computers have been produced over the years that "run on Forth". The Forth Inc company even make microprocessors with the basic Forth functions built in! So I considered putting in the Jupiter Ace, but decided I didn't want to mention every single Forth computer ever made.
But I suppose the Jupiter Ace was well enough known that the average Joe Soap computer buyer would have heard of it, so I'll think again about mentioning it.
A2681868 - Forth - the programming language
Dr. Memory Posted Jun 7, 2004
Nice entry - maybe a bit long for general readership?
Boeing (the airplane company) uses Forth as part of the functional test kernel software for aircraft electronics. The Forth interpreter for the 68K processor family uses only about 6K of ROM (or EEPROM or Flash) and a few hundred bytes of RAM. I was involved in this personally.
The language that I have found that is most similar to Forth is PostScript, which usually is not written by humans. for example, the word "inch" which muliplies the current stack entry by 72 (points per inch) in PostScript is
/inch {72 mul} def
or in Forth is
: inch 72 * ;
Interpeted languages are still quite widely used today due to security concerns - a piece of Javascript can be safely interpreted and executed from the safe 'sandbox' of one's browser - and compatibility issues. Forth however had some serious drawbacks; the most insurmountable I would say is that reliance on the stack allowed many programs to become totally unreadable.
A2681868 - Forth - the programming language
Gnomon - time to move on Posted Jun 7, 2004
Thanks, Dr M!
A2681868 - Forth - the programming language
Mikey the Humming Mouse - A3938628 Learn More About the Edited Guide! Posted Aug 16, 2004
Congratulations - Your Entry has been Picked for the Edited Guide!
h2g2 auto-messages Posted Aug 18, 2004
Your Guide Entry has just been picked from Peer Review by one of our Scouts, and is now heading off into the Editorial Process, which ends with publication in the Edited Guide. We've therefore moved this Review Conversation out of Peer Review and to the entry itself.
If you'd like to know what happens now, check out the page on 'What Happens after your Entry has been Recommended?' at EditedGuide-Process. We hope this explains everything.
Thanks for contributing to the Edited Guide!
Congratulations - Your Entry has been Picked for the Edited Guide!
Mikey the Humming Mouse - A3938628 Learn More About the Edited Guide! Posted Aug 18, 2004
Congratulations - Your Entry has been Picked for the Edited Guide!
Gnomon - time to move on Posted Aug 22, 2004
Congratulations - Your Entry has been Picked for the Edited Guide!
Gnomon - time to move on Posted Aug 26, 2004
Note to whoever gets the task of sub-editing this:
Don't play around with the spaces or punctuation in the Forth statements themselves. They are all part of the language and can't be changed or omitted in any way.
Congratulations - Your Entry has been Picked for the Edited Guide!
quizzical Posted Aug 31, 2004
Not to worry - I was a programmer once upon a time. Never encountered Forth, though. (I saw the references to stacks and memory addresses and thought: 'C' )
quizzical (sallying forth )
Key: Complain about this post
Peer Review: A2681868 - Forth - the programming language
- 1: Gnomon - time to move on (Jun 2, 2004)
- 2: Felonious Monk - h2g2s very own Bogeyman (Jun 2, 2004)
- 3: Woodpigeon (Jun 2, 2004)
- 4: Gnomon - time to move on (Jun 3, 2004)
- 5: Gnomon - time to move on (Jun 3, 2004)
- 6: Woodpigeon (Jun 3, 2004)
- 7: Dr. Memory (Jun 7, 2004)
- 8: Gnomon - time to move on (Jun 7, 2004)
- 9: Mikey the Humming Mouse - A3938628 Learn More About the Edited Guide! (Aug 16, 2004)
- 10: h2g2 auto-messages (Aug 18, 2004)
- 11: Mikey the Humming Mouse - A3938628 Learn More About the Edited Guide! (Aug 18, 2004)
- 12: Gnomon - time to move on (Aug 22, 2004)
- 13: Gnomon - time to move on (Aug 26, 2004)
- 14: quizzical (Aug 31, 2004)
More Conversations for GG: Forth - the programming language
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."