Our great sponsors
-
If anyone wants to compare, here's my repo: https://github.com/PikminGuts92/adventofcode2021
-
Still working on my superoptimizer. What it does is try to generate a code sequence that computes some function. You tell it what function you want, where to find the parameters and where to stick the result(s), and then it spits out a length of assembly code. It can do a brute force search or a stochastic search.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
here
-
-
-
github repo
-
In principal, I solved mine the same way you did, but not nearly as neatly or concisely. I figured out the offset in the array manually by taking the day %9. copy_within makes it a lot easier to reason about and a lot clearer what's happening. Very nice! https://github.com/jamincan/aoc2021/blob/main/src/day6.rs
-
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.
-
I've only been programming in rust for a few months casually but I'll post my repo here if you'd like to compare. I don't compete for time so I try to make my solutions clean/idiomatic: repo
-
advent-of-code-2021
Discontinued Code I used for solving https://adventofcode.com/2021 (by pavel1269)
-
This is how I solved it: https://github.com/miquels/adventofcode2021/blob/main/day-06/part-2/src/main.rs