Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philippdrebes/adventofcode2022
Exploring Rust by solving Advent of Code 2022 challenges. A project aimed at learning Rust syntax and improving problem-solving skills.
https://github.com/philippdrebes/adventofcode2022
advent-of-code-2022 learning-by-doing playground rust
Last synced: 10 days ago
JSON representation
Exploring Rust by solving Advent of Code 2022 challenges. A project aimed at learning Rust syntax and improving problem-solving skills.
- Host: GitHub
- URL: https://github.com/philippdrebes/adventofcode2022
- Owner: philippdrebes
- Created: 2023-06-11T16:26:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T12:26:57.000Z (about 1 year ago)
- Last Synced: 2024-12-03T00:08:29.790Z (21 days ago)
- Topics: advent-of-code-2022, learning-by-doing, playground, rust
- Language: Rust
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2022 - Rust Edition
This repository is dedicated to my journey of solving the [Advent of Code 2022](https://adventofcode.com/2022) challenges using Rust. I am new to Rust and this project aims to serve as a playground for me to explore the language and its features.
> [!NOTE]
> The solutions may not be the most efficient or idiomatic Rust code, but the main focus is on learning and problem-solving.
> Feel free to contribute or suggest improvements.## Goals
1. **Learn Rust**: The main objective is to become more familiar with Rust, its syntax, and ecosystem.
2. **Problem-Solving**: The Advent of Code challenges present an excellent opportunity to improve problem-solving skills.## Project Structure
The repository is structured as follows:
```
.
├── README.md
├── day01
│ ├── Cargo.lock
│ ├── Cargo.toml
│ ├── input.txt
│ ├── src
│ └── target
├── day02
│ ...
├── day03
│ ...
└── day25 (potentially)
```- Each `dayXX` directory represents the challenge for that day.
- `Cargo.lock` and `Cargo.toml` are Rust's dependency management files.
- `input.txt` contains the problem's input data.
- `src` contains the Rust source code files.## Usage
To run the code for a specific day:
1. Navigate to the corresponding `dayXX` directory.
2. Run `cargo build` to compile the project.
3. Run `cargo run` to execute the compiled binary.