screwlisp proposes a toast

Computing Nothing New Under The Sun

In an unpopular mastodon toot the other day I tried to share my following idea: that after 2020, the time of writing software ended and specifically the only acceptable modern use of computers afterwards (now and forever) is to faithfully use historical softwares as period-accurately as possible, with special dispensation for (a) increased or changed resource limits (b) formal algorithm choice adjustments © vulnerability patches, with these three cases entoning a sacred responsibility to not derail the software from its historically accurate conception and useage.

The gamedev of the ages, https://mdhughes.tech quickly made the point to me that he can think of a great new software the world of 2026 needs off the top of his head: A finally good (lisp?) Ted Nelson’s hypercard implementation.

Firstly, in this kind of case I want to include anything specified by Ted Nelson in a book as being an existing software (albeit that you might need to type into your local computer). I am just not classifying a faithful implementation of one of Ted Nelson’s softwares as being new programming. However, you must be attempting to accurately genuinely convey Ted Nelson’s conveyed vision, not making an homage. I suppose the same applies to any of Knuth’s collected well-known algorithms, or Sidney Burrus’ open reference work on fast fourier transforms.

Knuth and Nelson’s canons are two different main cases. In Knuth’s case, the algorithms are not a user computer program per se, and you need to type them into your language (actually, it might be more faithful to implement Knuth’s language in your language or find/support such). To the extent this provides a backdoor into doing anything under the sun, if you provide a reference corpus of knuth’s algorithms implemented in a classical language like lisp, and compose them, you have my blessing, though I will have more to say about program composition later.

In Ted Nelson’s case, he is definitively specifying exactly how the user computer program experience should be. In which case you need historically accurate backend components that provide exactly what Ted Nelson wants to be provided in exactly the spirit Ted Nelson wants it provided (using historically vetted backend components).

Now, about wiring things together, different but analogously to the Knuth/Nelson I think you need to be able to (are allowed to) provide probably separate historically significant backend rigging and frontend rigging. In reverse order, one historically significant early 90s (withstanding, completely modern) lisp front-end rigger is the Common Lisp Interface Manager (2.0 spec). This is not the same as just programming whatever in whatever.

The way CLIM works is that you declare a frame (basically, a stateful window) which has panes in it. Objects are presented as types (= presentations) on frames. Programs are defined into frame commands which are attached to mouse and keyboard gestures (select, edit, menu, delete, dragndrop …) for presentation types on a frame('s command-table). Expert shells, menus and various accepting-values-panes are also CLIM-defined, and the frame’s command execution is specified to be threadsafe. I regard using CLIM historically accurately/as specified as using a historically significant program accurately rather than making a new program. However you must be trying to use CLIM 2.0 to faithfully expose a backend and not as a vehicle to hide new original programming as such.

How to rig a multicomponent backend historically faithfully? Rigging a backend must be done in a very defined way that is obviously different to just writing a new program as such. Other than admitting algorithms like Knuth’s collection into our canonical computer programs, I think a clear way to wire a specific backend of existing behaviours is to insert the new programs into an existing program as special conditions via the lisp condition system. The gist of condition handling in lisp is that you start by attaching a list of names of conditions that you think could handle to programs to run that might handle them. If the program believes it can handle the condition it got stuck to in a particular runtime case, it restarts the program at a named restart. So the formula is to start from an on theme historically vetted program. Then where your algorithmic substitution sits, make a condition and signal it in the right place [] from the original program’s perspective. Outside of the program you define the condition that might be signalled, and you put your algorithmic program that should operate in that condition’s case inside a handler function you bind to the condition’s name (outside the original program). The handler should restart (inserted inside the original program) how or if its algorithmic result on the condition’s slots indicate to.

In order to get a historical program into the stable, 30-something year old modern common lisp, Kent Pitman (of Pitman errors / the common lisp condition system) has specific methodical guides for updating zetalisp (e.g. flavors to clos) and maclisp when necessary, which it often is not. Alfred Szmidt also has tools for zetalisp compatibility for common lisp.

Interlisp Medley, in another direction, is a free complete programming system whose historical pedigree traces all the way back to when interlisp was a name change from BBN lisp in the 1960s, and is distributed with historical lisp user contributions such as DONZ or Masinter’s Masterscope.

Anyway, this is some of my thinking about whether it is conceivable for the time of new software to have simply ended, with an emphasis of porting lisp programs forward in time to the early 90s (CLOS conditions and CLIM 2.0). One of my inspirations for this was Jeff Shrager’s executable archaeology, such as implementing the IPL substrate for the literal code of Newell’s original Logic Theorist from the 60s and so forth to run. In contrast I have focused on bridging MacLisp and Zetalisp from the 70s and 80s to ANSI common lisp and the common lisp interface manager with reference to Kent Pitman’s translation guides.

I think Jeff is absolutely right that the artful thing is to literally run the inherited historical code however I think possibly in lisp’s case particularly, it is possible to systematically update code forward in time to the ANSI standard circa 1990. The worst possible thing to do would be an homage or to otherwise write another new post-2020 software. I suppose Jeff’s approach is to simulate a situation where the original ship as such can be used in its exact original manner. Allowing systematic (or to some extent, artful CLIM / condition historically accurate arrangements) can carefully ride the ship of theseus.

Ted Nelson wrote in computer lib that he edited but did not draft his articles, because he observed that when you wrote a first version of the article, read it and then wrote a second, different version of the article, the second article moreso reflected a change in personal goals relative to the first rather than a monotonic improvement of it. So he adopted the strategy of carefully editing the articles as he wrote them but not rewriting them. The systematic and artful changes I am attempting to allow preserve the ship of theseus in the same way Ted Nelson’s editing preserved the first-version status of his articles.

Surprisingly, it has turned out that a terabyte of painstakingly computed optimization weights is somewhat difficult to naievely sort by quality from human comments in a variety of tricky benchmark scenarios for natural language synthesis. Such even assisted a mathematician in a search for a solution to Erdos problem 728, and later, another mathematician’s searching yielded a 1 gigabyte proof of the Riemann hypothesis.

My point about that is not that natural language processing generated computer programs might be great - rather they are a catastrophe - but the interesting point that while it was unappreciated at the time, early 80s algorithms operating on data of the scale of terabytes (at the time, megabytes was a lot - a million times less memory) have shocking results (a proof of the Riemann hypothesis). I mean it was shown in Hopfield Networks Is All You Need that an LLM transformer was basically the same as an early 80s Hopfield network (kind of perceptron) with a similar Boltzmann distribution function (which was an unexpected but not really technically difficult algorithmic change).

Unlike machine-checking if a mathematical proof is formally consistent, judging the quality of a nontrivial piece of software is a wicked problem. Wicked problems are problems were success is not well-defined and movement towards success is not well-defined. I am suggesting that making an informed comment on a nontrivial software (a wicked problem) is possible if you can longitudinally review ten years after its adoption, which by definition takes at least ten years of real time (with users!). Then, data sizes can be increased something like a millionfold.

Well, I suppose this is not really convincing anybody. A quality arguement for vintage software seems plausible because we can assess longitudinal data, and at least some softwares are seen to modernise mostly by scaling data and highly targetted algorithmic changes.

Some links:

screwlisp proposes a toast