Skip to content

Repository files navigation

Advent of Code 2021 in a different language every day

I completed Advent of Code 2021 using a different language for every day. I did have to give up on a couple days and hack out solutions in python to stay current with the group I was competing with, but it only took me a little work to come back later and fix those days up appropriately.

Languages

  • Ada
  • assembly
  • C
  • C#
  • C++
  • Chapel
  • Clojure
  • COBOL
  • Common Lisp
  • D
  • Dart
  • Elixir
  • Erlang
  • F#
  • Fortran
  • Go
  • Haskell
  • Java
  • JavaScript
  • Julia
  • Kotlin
  • Lua
  • Nim
  • OCaml
  • Octave
  • Pascal
  • Perl
  • PHP
  • Prolog
  • Python
  • R
  • Racket
  • Ruby
  • Rust
  • Scala
  • Smalltalk
  • SQL
  • Swift
  • TypeScript
  • Zig

Tracking for days I have to redo in a language I haven't used yet

Results

By day:

Day Lang
day01 cl
day02 ocaml
day03 prolog
day04 fortran This is the one I'm choosing to "count"
day04 py This one works, but I went back later to redo it in fortran.
day05 zig
day06 asm
day07 julia
day08 py Another functional solution that I had to go back and redo.
day08 swift
day09 d
day10 haskell
day11 nim
day12 typescript
day13 octave
day14 perl
day15 sql
day16 rust
day17 clojure
day18 lua
day19 elixir Went back and redid it in elixir
day19 py My initial solution
day19 z3-bad Nonfunctional
day20 r
day21 cpp
day22 ruby
day23 py
day24 sorta_rust I ended up doing this one by hand; none of the code participates.
day25 c

By solution:

Lang Day
asm day06
c day25
cl day01
clojure day17
cpp day21
d day09
elixir day19
fortran day04
haskell day10
julia day07
lua day18
nim day11
ocaml day02
octave day13
perl day14
prolog day03
py day04
py day08
py day19
py day23 The py soln that "counts"; the others have been retained for posterity only.
r day20
ruby day22
rust day16
sorta_rust day24 Again, I really did this one by hand.
sql day15
swift day08
typescript day12
z3-bad day19 Nonfunctional
zig day05

About

AoC in a different language every day

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages