One of the ways I disagree with many of my esteemed fellow Rust people is that I think #async #RustLang is great. Switching #nextest over to #asynchronous Rust has yielded incredible dividends, including but not limited to what I described in https://sunshowers.io/posts/nextest-and-tokio/.
The ability to write cross-platform heterogenous selects provides an extraordinary amount of power.
Day 4: "Camp Cleanup"
This was one of the easier puzzles so far. Didn't bother with tests this time around... might go back and add them in a refactor.
Day 3: "Rucksack Reorganization"
Finding the common item in the group of rucksacks sent me down a rabbit hole of trying to find an efficient intersection of multiple HashSets in Rust.
Dall-E interpretation of elves and rucksacks 🙂
Day 2: "Rock Paper Scissors"
First good use of enums, structs and traits. Code was more test-driven today. The change in input meaning for part two presented some challenge to code organization for the combined solution.
Day 1: "Calorie Counting"
Interesting first puzzle. Most of the time was spent on input parsing. Tests were written after the fact but were helpful in refactoring.
Tracked down why rustc might be installed by homebrew. I was playing with cargo-nextest as an alternate test runner. The recommended install path was to use homebrew. That package has a dependency on homebrew rust.
homebrew remove cargo-nextest rust
Ran into an issue where clippy was complaining about a crate being compiled against a wrong rustc even though "cargo check" ran successfully.
Turns out if you have a rust version installed via homebrew clippy can choose the incorrect one.
Staff Developer at Shopify working on GraphQL APIs in Ruby and Rust.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!