Our great sponsors
-
adventofcode
Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala (by sim642)
-
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.
-
advent_of_code_2020
Discontinued My solutions for the 2020 Advent of Code (https://adventofcode.com/2020) (by sevenseacat)
-
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.
I am planning to attempt this year's Advent of Code with Elixir. It starts December 1, still a few days to go, but I want to be prepared before that.
Excellent idea! I did in 2019 and was fun https://github.com/jacopofar/advent-of-code-2019-phoenix-react
I’ve done every year previously in Elixir - currently collating all of my years into one repo, but here’s last year (incomplete…) https://github.com/sevenseacat/advent_of_code_2020
You can use my template if you want : https://github.com/lud/adventofcode
Repo
My solutions from the past years (only 2020 is complete).
Thanks for the reading! It turns out I misremembered a bit and the real issue was it’s not possible to create a preallocated array of a certain size (in this case 30 million elements 😱), as each iteration you do a lookup and append to the list. I think I tried :array but looking at the code now I’m not sure how it would perform. I ended up using :ets. If you’re curious my code is actually pretty short for that day.