webbertakken / advent-of-code

Me participating in Advent of Code

Home Page:https://adventofcode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code

Me participating in Advent of Code.

To practice, I will try to solve the problems in different languages.

TypeScript (Bun)

Prerequisites

Run

Change directory to the TypeScript folder

cd 2022/typescript

Run the solution for a specific day

bun run day01.ts

Run the tests

bun test # note that this runs bun native stuff underneath, as opposed to "bun run test"
# or
yarn test

Benchmarks

bun run bench # bun bench fails with "error: Failed to due to error: spawn() is not yet implemented on Windows"
# or
yarn bench

Rust

Prerequisites

Run

Change directory to the Rust folder

cd 2022/rust

Run the solution for a specific day

cargo run --bin day01

Go

Prerequisites

Run

Change directory to the Go folder

cd 2022/go

Run the solution for a specific day

go run . day01

About

Me participating in Advent of Code

https://adventofcode.com/


Languages

Language:TypeScript 83.1%Language:Rust 13.9%Language:Go 3.0%