Show me your most elegant Advent of Code 2022 Day 11 Answer

This page summarizes the projects mentioned and recommended in the original post on /r/learnrust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • recap

    deserialize typed structures from regex captures (by softprops)

  • 👀 that's goddam nice, I was a bit too much obsessed with serde and ended up using recap that can deserialize from regex, I still end up with some FromStr boilerplate that doesn't look as nice

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • advent_of_code_2022

    Rust solutions to advent of code 2022 edition (by valsteen)

  • I used serde+recap that has a regex deserializer, but recap does not play nice with Vecs and enums so I end up with a bit of boilerplate. https://github.com/valsteen/advent_of_code_2022/blob/main/day11/part2/src/main.rs

  • adventofcode_2022

  • Code is here : https://github.com/YetiBarBar/adventofcode_2022/blob/main/src/day11.rs

  • advent-of-code

  • I normally look at Chris Biscardi and Amos (fasterthanlime). Chris' solutions typically encode a lot of information from the problem description. Amos' solutions are often unique, insightful, and fast.

  • advent-of-code-2022

    advent-of-code-2022 (by robosa)

  • advent-of-code-2022

    Advent of Code 2022 solutions in Rust (by avsaase)

  • I'm quite pleased with how I used parse_display for this problem. This was the first day where I used it to directly parse a multi-line block and I can say it works very well. It almost feels like cheating. Code

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • advent-of-code

  • Here's the library author's solution.. I tried something similar but had issues (I tried binding inside the individual lines instead of binding to the results of the lines), so I solved it by parsing each monkey to a big tuple, then after I got the solution I looked at how the library author had parsed it to better see how to use the library.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Command Line Rust is a great book

    4 projects | /r/rust | 8 Dec 2023
  • What is the best way to learn Rust for offensive cybersecurity?

    3 projects | /r/redteamsec | 24 Apr 2023
  • [AoC 2022] - Performance of the solutions for day 8

    4 projects | /r/learnrust | 12 Mar 2023
  • -🎄- 2022 Day 16 Solutions -🎄-

    68 projects | /r/adventofcode | 15 Dec 2022
  • -🎄- 2022 Day 13 Solutions -🎄-

    149 projects | /r/adventofcode | 12 Dec 2022