Advent of Code Days 17 and 18: Spinlocks and Interpreters

Days 17 and 18 both defeated me. Star 1 was easy, Star 2 was not. Both were pretty quick to solve for the first star, though, so let’s look at that.
Day 17 – Spinlock
For Advent of Code Day 17, we had to implement a spinlock. Spinlocks are a way to implement busy waiting.

Link: https://dzone.com/articles/advent-of-code-days-17-and-18-spinlocks-and-interp?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev