Advent of code in Rust - solving year 2020 exercise 12 - Part 1 (Twitch Live 2021-05-31)
In this episode, we completed Advent of Code y2020 ex12 part 1.
This exercise was an interesting navigation project where we needed to keep track of a moving ship.
Unfortunately, this time around Roberto could not attend, but Eugen and I had a special guest, Javier (@pepoviola on Twitter: https://twitter.com/pepoviola). Javier did an excellent job driving the implementation and we managed to complete the first part of the exercise.
Thank you Javier for joining us, it was a pleasure to have you and to learn with you!
Special thanks also to Tommaso Allevi for providing a lot of useful comments throughout the session!
One interesting learning of this session was the difference from the generic From trait and the FromStr trait.
You can find more details here:
- https://doc.rust-lang.org/std/convert/trait.From.html
- https://doc.rust-lang.org/std/str/trait.FromStr.html
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