Advent of Code 2023
In December I took part in the annual ‘Advent of Code‘ event. I originally wrote my solutions using Free Pascal on a Raspberry Pi 4 and ended up with 42 gold stars out of 50 – my best performance yet. Christmas came and Santa brought me an RC2040 – a Pi Pico-based RC2014 emulator.

Having built it one afternoon in early January (it’s very simple to solder, with the only tricky component being the micro SD card holder), I needed to find something to do with it. So I decided to convert a couple of my advent of code solution to run on it using Turbo Pascal 3.01A. Just a couple you understand …. ahem.
Some days later and I’ve ended up converting 20 of the solutions I wrote in December – so far. If you’re interested, you can find them all in this code repository. This exercise was also useful for smoking out a few more bugs in the Big(ish) integer library I wrote in Turbo Pascal last year.
But the real question that everyone needs answering is which is faster – a real RC2014 or the RC2040? There’s only one way to find out of course – fight!