GithubHelp home page GithubHelp logo

adventofcode2020's Introduction

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

adventofcode2020's People

Contributors

mikeweber avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.