My solutions to Advent of Code.
See the aoc-stats repo for a static site generator with extended statistics.
I started out with Bash, but added some Perl to the mix when Bash just took too long.
I tried sticking to pure Bash without too much reliance on command line tools (reason: definitely not performance), but whenever pure Bash really was too slow or cumbersome (day 10, second part for example), I gladly took the multiple orders of improved performance.
Everything in awk, with the odd solution in Perl or Bash and utilities such as
grep or sort
.
For MD5 hashing, I used an extension from here, written in C.
Perl for speed (everything), Go to learn (first 13 days).
Uploads are "polished", but the oldest commit per file is the honest version used to solve the puzzle.
Perl. First commits per day are the honest truth, afterwards I cleaned up.
I thought "probably Go", but ended up with Perl again for day 1. Then gave up, then came back and did everything in Go1.
Mostly awk, and a tiny bit sed.
Node.js1, with the first three days also in awk.
Awk so far? Some Bash? Perl?1
Ruby1