Advent of code in Rust - solving year 2020 exercise 16 - Part 2 (Twitch Live 2021-08-16)
In this episode, we completed the second part of Advent of Code y2020 ex16.
The second part of this exercise is about trying to match columns and fields by exclusion. We decided to go down the rabbit hole of using references to map rules (from part 1) to columns and it was a lot of fun (and swearing) having to fight with the borrow checker as we used these structures in our code.
I think we thought we had a good grasp on the borrow checker rules, but the amount of swearing probably says something else... we definitely have to revisit a few chapters of the Rust book!
In the next episode, we will probably spend some time revisiting this exercise!
For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent
For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige