this post was submitted on 24 Nov 2023
20 points (95.5% liked)

Advent Of Code

1097 readers
1 users here now

An unofficial home for the advent of code community on programming.dev!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

AoC 2024

Solution Threads

M T W T F S S
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

Rules/Guidelines

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

founded 2 years ago
MODERATORS
 

Getting closer to the event (less than 1 week now!) so figured I would ask this question

Ive been mostly just doing some problems from other years to get used to solving things in rust

top 5 comments
sorted by: hot top controversial new old
[–] stifle867@programming.dev 7 points 2 years ago

I'm not. I don't plan to speed run it. It's just a fun activity and part of that fun is just figuring out as I go along.

[–] SaintWacko@midwest.social 2 points 2 years ago (1 children)

I've done mine in Python in the past, but now everything I do is in JavaScript, so that's what I'll be using this year

[–] coloredgrayscale@programming.dev 2 points 2 years ago (1 children)

Since you already know js, consider trying typescript. If you want learn/train more than just algorithm / problem solving.

[–] SaintWacko@midwest.social 1 points 2 years ago

Good point. I actually have been doing typescript lately, but I'm not sure I would have thought about it for AoC

[–] soulsource@discuss.tchncs.de 2 points 2 years ago

I'm currently reading Functional Programming in Lean, hoping to learn enough about the language that I can mange to implement at least the first few riddles in Lean4.

I've set myself the goal that I'll prove to the compiler that all code I write terminates, instead of just throwing Lean's partial keyword on functions where the compiler can't prove this automatically...

I wanted to do some AoC 2016 riddles as a warmup, but I realized that I'm not good enough in Lean yet to do that, and decided to rather solve the exercises given in the aforementioned book.

I'm optimistic that I'll manage to finish the book still this month, but it's getting tight. I'm now at the beginning of chapter 8 out of 10, but the last 3 chapters deal with those aspects of Lean that are completely unfamiliar to me...