The A-Z of Programming Languages: Forth
- 27 June, 2008 08:01
- Comments
Computerworld is undertaking a series of investigations into the most widely-used programming languages. Previously we have spoken to Alfred v. Aho of AWK fame, S. Tucker Taft on the Ada 1995 and 2005 revisions, Microsoft about its server-side script engine ASP, Chet Ramey about his experience maintaining Bash, and Bjarne Stroustrup of C++ fame.
In this article we chat to Charles H. Moore about the design and development of Forth. Moore invented Forth while at the US National Radio Astronomy Observatory to help control radio telescopes and data-collection/reduction systems.
Here he chats about why Forth was invented, as well as why he still works with Forth today.
How did Forth come into existence?
Forth came about when I was faced with a just-released IBM 1130 minicomputer. Compiling a Fortran program was a cumbersome procedure involving multiple card decks. I used Fortran to develop the first Forth, which could use the disk and graphics display that Fortran couldn't. Because it was interactive, my programming was much faster and easier.
Was there a particular problem you were trying to solve?
This computer was at Mohasco Industries. Their main product was carpet and the problem was to determine if the 1130 could help design carpets. Forth was great for programming the 2250 display, but ultimately the lack of color doomed the project.
Did you face any hard decisions in the development of the language?
The hardest decision in developing Forth was whether to do it. Languages were not casually designed. It was reputed to require a brilliant team and man-years of effort. I had my eye on something quick and simple.
How did Forth get its name?
I decided to call it Fourth, as in 4th-generation computer language. But the 1130 file system limited names to 5 characters, so I shortened it to Forth. A fortuitous choice, since Forth has many positive associations.
I have read that Forth was developed from your own personal programming system, which you began to develop in 1958. Can you tell us a little more about this?
My personal programming system was a deck of punch cards, [now] sadly lost. It had a number of Fortran subroutines that did unformatted input/output, arithmetic algorithms and a simple interpreter. It let me customize a program via its input at a time when recompiling was slow and difficult.
Why did you incorporate Reverse Polish notation into the language?
Reverse Polish notation is the simplest way to describe arithmetic expressions. That's how you learn arithmetic in grade school, before advancing to infix notation with Algebra. I've always favored simplicity in the interest of getting the job done.
- Bookmark this page
- Share this article
- Got more on this story? Email TechWorld
- Follow TechWorld on twitter
- Key Factors in Modernising Backup and Recovery
- Integrated Computing Platforms: Infrastructure Builds for Tomorrow’s Data Centre
- The SPARC Difference - Reduce Risks, Cut Costs, Power Innovation
- In Control at Layer 2: A Tectonic Shift in Network Security
- Spear-Phishing Email: Most Favored APT Attack Bait
-
Box buys iOS app to improve its own
-
Review: Sony Xperia SP
-
Coming to a shopping centre near you: 3D body scanners
-
ASIC debacle: Conroy open to transparency over website blocks
-
Verizon, Jennifer Lopez partner on Latino-focused wireless stores











Recent comments
4 hours, 20 minutes ago
16 hours ago
16 hours, 15 minutes ago
1 day, 1 hour ago
1 day, 5 hours ago
1 day, 10 hours ago
1 day, 10 hours ago
1 day, 11 hours ago
2 days, 1 hour ago
3 days, 5 hours ago