Our great sponsors
-
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.
Hello everyone. I'm currently trying to catch up with the Advent of Code puzzles and just finished Year 2016 in C. On this journey my utility library grew quite a bit and maybe someone wants to use some of it or is interested in some implementations: - dynamic generic arrays - dynamic generic hash sets (open addressing) - dynamic generic min and max heap - MD5 hash algorithm - and some other helpful functions You can find all the solutions in my repository. It's barely documented and not perfect by any means so be careful when reusing any pieces of code. I had lots of fun implementing the interpreters. Finally an excuse to use computed gotos.
If you want some inspiration, check out my repo (although it is not in C and the year is 2022).
Personally I just stick to raw arrays for most days, usually with static storage (so pre-allocated). Keeps things simple! Here's my repo.