Me participating in Advent of Code.
To practice, I will try to solve the problems in different languages.
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
Change directory to the Rust folder
cd 2022/rust
Run the solution for a specific day
cargo run --bin day01
Change directory to the Go folder
cd 2022/go
Run the solution for a specific day
go run . day01