Skip to content

mikeweber/adventofcode2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merry Rustmas!

This journaling will be mostly for myself, but I'm posting it to GitHub for posterity. This will be my 3rd year attempting to do the Advent of Code. I'm hoping to write down my thoughts as I tackle each challenge. This year, the theme will be Rust. I've used Ruby and Elixir the past two years, so this year I'll be getting in reps with a newer-to-me language.

Code layout

With Ruby in 2019, I would write the code in different folders each day. Since it's a scripting language, it was easy enough to just execute each program on its own. Last year, the Advent of Code challenges included re-using a lot of code across days, and since Rust requires setting up a new project just to run the code, plus I actually have to compile code now, I've decided to write each of the challenges in a single project with a single entrypoint code. So running a program requires running the same program, but with different arguments. e.g. calling cargo run 1a will run the code for the first part of day 1, cargo run 2b will run the code for the second part of day 2, etc.

Days

  • Day 1
  • Day 2
  • Day 3
  • Day 4
  • Day 5
  • Day 6
  • Day 7
  • Day 8
  • Day 9
  • Day 10
  • Day 11
  • Day 12
  • Day 13
  • Day 14
  • Day 15
  • Day 16
  • Day 17
  • Day 18
  • Day 19
  • Day 20
  • Day 21
  • Day 22
  • Day 23
  • Day 24
  • Day 25

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages