Home » Blog » Forth, 2^5 years ago

Forth, 2^5 years ago

2^5 years ago this month, Byte magazine devoted an issue to the Forth language.

Byte (“the small systems journal”) volume 5 number 8, August 1980, was largely devoted to Forth. I only discovered this by accident, researching some background for a paper I’m writing on extensible virtual machines. What’s even more remarkable is that you can download the issue — along with a lot of others — as a PDF.

That the premier hobbyist/hacker magazine of its day would give over most of an entire issue to one language tells you something about the way people thought about programming their machines back then. There was a premium on compactness: one of the first adverts in this issue of Byte is for a Cromenco Z-2H with 64Kb of RAM and 11Mb of hard disc, and proudly claiming that it  “is under $10K”.

One article is a history of Forth, one is a tutorial, and two are deeply technical programming pieces aimed at people comfortable with the idea of writing their own software pretty much from scratch  — and indeed, keen to get on with it. What’s more, they could write software as good or better as that which they could buy (to the extent that there was any hobbyist software to buy). That’s not something we’ve been able to say for at least the last 2^4 years: hobbyist software hasn’t competed with commercial offerings in most domains for a long time.

I think there were a number of things going on. The simplicity of the machines was obviously a bonus: one could understand the hardware and software of a personal computer in its entirety, and contemplate re-writing it from the ground up as an individual or small group.

Expectations were lower, but that works both ways: low expectations coupled with low-performance hardware can still lead to some impressive software. But it’s certainly the case that one of the main barriers to software development from-the-ground-up these days is the need to interface with so many devices and processes in order to do anything of interest: any new system would need to talk to flash drives and the web, which probably means writing device drivers and a filing system. You can get round this using hardware packages, of course: Zigbee radios have simple programmer interfaces and encapsulate the software stack inside them.

Another factor, though, was a difference in ambition. A hobbyist in the 1980’s only had herself and her friends to impress (and be impressed by): the horizon was closer. I’m sure that led to a lot of re-definition and duplication that the internet would allow one to avoid somewhat, but in some senses it provided a better learning environment in which a sequence of problems needed solution from a programmer’s own creativity and resources. That’s a significantly different skill set than what’s required today, where we place a value on compliance, compatibility and re-use at least as high as we place on creativity and innovation.

I’m not advocating a return to the past — although programming in Forth for sensor networks does give me a tremendous sense of pleasure that I haven’t felt in programming for a long time, at least partially derived from the old-school nature of it all. However, I would say that there’s also value in this old-school style even today. The hackers who read Byte wouldn’t settle for sub-standard tools: they wouldn’t think twice about re-coding their compilers and operating systems (as well as their applications) if they were sub-standard. That power brings on a sense of power — the ability to change what’s perceived to be wrong in something– that’s to be celebrated and encouraged even today, amongst programmers who sometimes seem to be constrained by their toolchains rather than freed by them.


3 Comments

  1. Not sure I agree that hobbyist software can’t compete these days. Thinking of Linux, PGP, and that other one I forgot while wrestling with iPhone kbd. Sure many of these become commercial but thereby confirm that hobbyists can compete. Oh yeah it was BitTorrent. The fact that hobbyists now do so much more complex thing testifies to the value of CS education of course.

  2. Ah – I remember that issue of Byte well 🙂 My very first computer was a Jupiter Ace, for which Forth was its USP. And Thinking Forth http://thinking-forth.sourceforge.net is still one of the best programming books I’ve ever read.

    I have to take issue with “hob­by­ist soft­ware hasn’t com­peted with com­mer­cial offer­ings in most domains for a long time” though. I accept that the picture is complicated, but much open source is hobbyist at heart, and much of it is also market leading. Linux is the obvious example – although it’s grown well beyond its hobbyist origins, that’s definitely how it started out. And while it’s the most high-profile, it’s far from the only such example.

Leave a comment