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: #commodore #C64

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

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

Today’s “learn something every day”: Been studying recursion implementations in modern languages like Python. Taking this back to 8 Bit machines…this is the first time I’ve ever studied implementing a manual push/pop stack pointer combined with memoization. Got a lot of uses to ponder for this. #commodore #VIC20 #python

This took me a while to figure out: All permutations of a naturally ordered string. In Python/Rust I’d use recursion, but on an 8-Bit you run out of space on the stack pretty quickly. Managed to come up with a working iterative version. Now I’ll redo it in Assembly ;-) #commodore