a laptop, then ported the same algorithm to a Commodore 64.

Very cool stuff. In an age of throwing ungodly amounts of compute at LLMs, it’s nice to see someone approach a problem with the goal of making it as lightweight as possible. Like the author, the extreme resource limitations are one of the reasons that I love retro tech, since they breed ingenious solutions.