Michael Doornbos
About
CV
Projects
PGP Key
X
Doing the #AdventOfCode for December using my weapon of choice. Day 1 part 1 was a snap. If I don't print the lines (looks cooler if I do) it gets the correct answer in 31 seconds. Not bad for a 39 year old machine #commodore #c64
▸
Dec 1, 2021
▸
Michael Doornbos
▸
1 words
https://videopress.com/v/V94fzAzt?resizeToParent=true&cover=true&preloadContent=metadata
← Today's learn something every day: Back implementing manual stack and memoization on systems that don't REALLY do recursion. To help visualize loops, I started printing the status on every loop on a delay and reversing the stack pointer digit so I could follow it. #commodore
The #AdventOfCode Day 1 part 2 was a three-measurement sliding window. See, who needs more than 8 Bits in a computer? I blurred the answer, no cheating ;-) Url if you want to participate is: https://adventofcode.com/ #commodore #C64 →