this post was submitted on 14 Nov 2023
23 points (92.6% liked)

Advent Of Code

766 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 2023

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 1 year ago
MODERATORS
 

Doing some daily questions leading up to the event to encourage some activity here, starting off with language selection

all 21 comments
sorted by: hot top controversial new old
[–] b_van_b@programming.dev 17 points 1 year ago (1 children)

Probably rust, so I can push myself to do some real practice with it.

[–] mvirts@lemmy.world 8 points 1 year ago

Im borrowing this idea

[–] Ategon@programming.dev 8 points 1 year ago

Ill start off with my choice. Been teaching myself rust recently so I can mess around with the lemmy backend so will likely attempt it using rust to practice it a bit more

[–] mvirts@lemmy.world 4 points 1 year ago

Rust until I get sick of it, then c or python 😹

[–] hardaker@programming.dev 3 points 1 year ago

I often pick languages or modules to learn for the easier puzzles, or even languages that should be hard too challenge myself. 2 years ago I used bash and CLI apps for the first five levels. And I've forced myself to get better at numpy and pandas too before I knew then as well.

TLDR: user it as an opportunity to learn.

[–] soulsource@discuss.tchncs.de 3 points 1 year ago* (last edited 1 year ago) (1 children)

I'm going to try Lean4. It's interesting for us at work, for gamedev, and I'm personally interested in it too.

It's not only a programming language, but also a theorem prover, and the boundaries between those two aspects are rather blurry. For instance, if does not take a Boolean as argument, but a Decideable logical proposition. if also does not only choose which branch to evaluate, but also offers a proof that the proposition is True or False in the respective branches, that one can later use to argue with the compiler if a certain function call is allowed or not (for instance, one can make a type that only contains natural numbers that are prime - and making an instance of that type requires a proof that the passed in number is indeed prime - and such a proof can be materialized using if).

I'm still learning the language though, and am not certain if I can finish reading the book Functional Progrmaming in Lean till AoC starts... If I can't manage, I'm just going to start AoC in Lean anyhow, and see how far I get.

[–] russmatney@programming.dev 1 points 11 months ago

Dang, haven’t heard of this, looks pretty cool!

[–] Blaster_M@lemmy.world 3 points 1 year ago (1 children)

If someone enters with FORTRAN and punch cards...

[–] derpgon@programming.dev 1 points 1 year ago

Hell if someone enters with IntCode (AOC 2019 IIRC)

[–] morrowind@lemmy.ml 3 points 1 year ago (1 children)
[–] Ategon@programming.dev 4 points 1 year ago

starts december 1st

[–] DaleGribble88@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Go if I understand exactly what to do to solve the problem, C# or Python if I'm going to need to stumble around for a bit.

[–] Jummit@lemmy.one 2 points 1 year ago

I'm going to use https://harelang.org to get more comfortable in it, and maybe my own languages, Otomescript and Hase.

[–] Andy@programming.dev 2 points 1 year ago

Factor, for sure. But I'll be surprised if I get though the whole first week without falling behind.

[–] russmatney@programming.dev 2 points 11 months ago

I’m going for zig and gerbil this year! Love AOC for learning new langs a day at a time :)

[–] tiredofsametab@kbin.social 1 points 1 year ago

I always forget this exists until it's too late. I'm so tired lately, I'll probably just knock it out in Go if I participate. I want to reactivate my rust or maybe even typescript, but I don't think I can be bothered.

[–] Cyno@programming.dev 1 points 1 year ago

Python with Jupyter has always done well by me!

[–] Hammerheart@programming.dev 1 points 1 year ago

Python since its the only language im half decent at

Probably R and very little Python. I like working with datasets and R feels easy to use compared to others.