Skip to content

My attempt to solve the AoC2022 with the Rust programming language.

Notifications You must be signed in to change notification settings

sourproton/aoc2022-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022 in Rust, by sourproton

My attempt to solve the AoC2022 with the Rust programming language.

Usage

Dependencies

Installation

  • clone this repository
  • cd to it
  • test it with cargo test. It should perform all tests and display test result: ok with 0 failed
  • compile with cargo build --release

Usage

  • Download your inputs for each puzzle and replace those in the data/inputs/ folder. Respect the naming convention with 2 digits for the days: input01.txt, input02.txt, inputXX.txt, ...
  • To run all solutions, run cargo run --release
  • To run the solutions to days X, Y and Z, run cargo run --release -- X Y Z

Why

The Advent of Code is a great challenge to learn and apply programming skills. My goal is to learn new algorithms and develop code organization and project management.

Rust is a modern, general-purpose programming language that features memory safety. I'm particularly interested in this feature and that's the reason I'm learning to code in Rust.

Progress

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