Running Some 35 Year Old Code

In the last post I mentioned that I had a job that took a week to run on a workstation in 1989.  I was wondering how long it would take on a modern machine.  I had the old Ada code stashed away, so with a little doctoring I was able to put together a single processor version.  I was also able to install an Ada compiler called Gnat.

Gnat was a little picky and wanted specs and bodies (an Ada thing) in separate files with specific extensions.  I also ripped out all the multiprocessor and load balancing, which was pretty easy.  I actually had it running in a few minutes.  Getting a bitmap to display properly took a few more minutes.

The interesting part: ran in maybe 3 seconds on a small x86 and maybe 10 seconds on a Raspberry Pi 5.  Below are a Hally and a Newton bitmap in black and white.  Also included the source in a zip file.

Leave a comment