Programming Languages

Best programming languages for GOFAI.

My own list:
FORTH - the most important programming language of all time
BASIC - dominated popular computing for decades
LISP - all-in-one environment for symbolic processing
PROLOG - declarative logic, similar to SQL in style

The FORTH entry caught my attention since I keep a small stack of old hardware around the house, though I’ve only ever poked at it rather than written anything serious. My uncertainty is whether learning something like LISP or PROLOG now makes sense when most of my tinkering is microcontroller work in Tulsa, where the toolchain support is thin. I keep seeing the Arduino Uno Rev3 (A000066) Review: Classic ATmega328P Microcontroller Board while browsing, and I’m weighing whether to stay on that path or go deeper into symbolic languages. Has anyone split time between both and found it useful?

1 Like

Certainly valid questions. I’m not betting on a comeback for FORTH, LISP, or PROLOG, but I will say two things.

First, it’s interesting to play with Claude’s ability to code in these languages. It’s quite good, likely because there’s such a long history of literature and code to ‘borrow’ from.

Second, I have a personal interest in simple, efficient languages because one of my projects is the SELDON I psychohistory processor. This design (far away from any fab as yet) implements 100,000 or more cores! Each core has an independent FORTH that models a person. Each individual person is sort of a PROLOG-ish collection of facts and rules. These people (cores) interact and learn from each other. There’s no way that one central interpreter/compiler could efficiently contain the entire society. All people (cores) must step through time in parallel, otherwise the model would take days to show any emergent behavior.

It’s mostly hand-waving at this point, and I only have a few actual cores. Implementing the first few cores is a huge task because the messaging, shared memory, and other logistics must be worked out and tested. Once that’s done, scaling up to many thousands of cores is almost automatic The goal is to create a modeling machine for anthropology and archaeology work (not predicting the future as Isaac Asimov invented his psychohistory for). And the fact is, I know this tech far better than anything current anyway.