π¦ Rust vs π Python: Advent of code in Rust - solving day 11/2021 (Twitch Live 2022-04-04)
Channel:
Subscribers:
950
Published on ● Video Link: https://www.youtube.com/watch?v=mETyyaml6UY
In this episode, we completed day 11 of Advent of Code y2021 using Rust and we compared our solution with Python!
In this episode we took advantage of the iterator trait (https://doc.rust-lang.org/std/iter/trait.Iterator.html) to implement our solution. We also explored out to use the `while let` syntax to simplify some of the boilerplate around loops.
If you have any suggestion, we'd love to hear it, so please leave a comment or a create a PR!
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
Other Videos By Luciano Mammino (loige)
Tags:
rust
rustlang
advent of code
aoc
adventofcode
game of life
learning rust
live coding
pair programming
mob programming
live stream
twitch
educational
iterator
fromStr
traits
coding challenge
problem solving
irl
in real life
year 2021
aoc2021
advent of code 2021
python