An open API service indexing awesome lists of open source software.

https://github.com/chriz982/advent-of-code

🎄 Advent of Code solutions written in Rust and C++
https://github.com/chriz982/advent-of-code

advent-of-code advent-of-code-2023-cpp advent-of-code-2023-rust cpp programming-exercises rust

Last synced: 4 months ago
JSON representation

🎄 Advent of Code solutions written in Rust and C++

Awesome Lists containing this project

README

          

# :christmas_tree: Advent of Code :snowman:

## 2023

Advent of Code solutions for 2023 written in Rust and C++ :rocket:

My goal for this year is to compare Rust with C++ and see in what state the "functional" side of C++ is currently, while trying to write
minimal and somewhat efficient code. The goal is **not** to produce the most readable and robust code.

## Running the code

To run a program, simply `cd` into the directory of the year and run the following command:

```bash
# Rust:
cargo run --package day-1 --bin part1 --release

# C++:
make deps
make day-1-part1
```

Replace the day and part numbers with the ones you would like to run.