logoalt Hacker News

Advent of Code 2026

580 points • by meffmadd • today at 1:47 PM • 261 comments • view on HN

Comments

oblo_mov • today at 2:00 PM

Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.

➕ show 11 replies
allthetime • today at 5:10 PM

Finding it kinda sad how this is entire comment feed is just about AI and de-skilling and has many people questioning why anyone would bother to do this all by hand.

I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.

➕ show 4 replies
xavdid • today at 3:53 PM

One of my favorites! Eric & co do such a great job putting everything together.

For years I've written up a step-by-step guide to how my code works and published to a little side-blog at https://advent-of-code.xavd.id. It dramatically increases the time it takes to complete each day (I spend much more time writing/explaining than programming) but I've found the practice really rewarding.

I started partly because I wanted to make sure I understand the problems and partly because every solution in the daily Reddit thread is reads like a code golf competition. I get it, people tend to prioritize speed and terseness when solving (leaderboards, etc). But a bunch of inline functions and single letter variables make it really hard to understand their solutions. So in an effort to make something legible to readers of all skill level, my solution looks just like something I'd write at work.

WesleyJohnson • today at 2:15 PM

That took me far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp.

➕ show 15 replies
pprotas • today at 2:21 PM

I did the first level by hand. First time I coded without an AI agent in a year. I even visited Stack Overflow to look up how to sort a list... Feels like the good old times hahah

On a serious note, somehow I am happy that I was still able to do it by hand. Brain is not rotten yet! I'm sure the latter puzzles will destroy me though (but that has always been the case anyways!)

➕ show 2 replies
fduran • today at 2:22 PM

The Advent of Sysadmin variation: https://sadservers.com/advent2026 (free in-browser challenges, no registration needed. Disclaimer: I built this)

➕ show 2 replies
tito • today at 3:18 PM

I’m not much of a coder. I’ve tried Advent of Code several years in a row. I never got very far.

I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.

And for me, Advent of Code has simply been too big of a mental leap.

This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.

If there’s others here who want to compare notes on their process or have suggestions I’m all ears.

➕ show 4 replies
oalders • today at 4:17 PM

The 2026 Perl Advent calendar is also online now. It's season 27. This may be the oldest of the code calendars, but I can't actually prove it. https://perladvent.org/2026/

neuwirth • today at 3:13 PM

I'm doing the puzzles by hand in Haskell this year. Should be fun!

➕ show 2 replies
markhermeling • today at 5:21 PM

For people that want to use AI and formal methods to solve these problems:

https://forum.ada-lang.io/t/charity-advent-of-ada-spark-2026...

drakonka • today at 3:23 PM

I did the first day this morning and it was so much fun to just treat it like a little mental exercise. I think now that we use more AI for daily coding little quirky puzzle games like these just become even more joyful to do by hand, for fun.

➕ show 1 reply
fjfaase • today at 2:48 PM

I have made a private leaderboard for people who want to compete in C not using AI or an extensive library. (I am using a small library with a function to parse the input into an array of strings.) You are encouraged to login with github and share your solutions in a github repository. The code to join is: 1563228-d419ba6d

I am using literary programming in MarkDown where I use an application to collect C code fragments in one or more MarkDown files and put them in the correct order to be compiled. See: https://github.com/FransFaase/AdventOfCode2026

thibsrn • today at 2:27 PM

Does anyone have any fun ideas to share to experiment with the problems ? I was thinking of setting peculiar constraints, such as using specific data primitives or systems to solve it. I don't know how it would exactly take shape in practice but something like using solely HTTP, not as a tool to reach an API to solve it, but using the protocol as the computational model itself.

Or maybe using git primitives, fitting the computation using its data representations and functions. Or maybe bitcoin transactions (using a private simulated network obviously). How about going analog ? There must be something in my bookmarks about people using dominos or radio waves to do computation.

➕ show 3 replies
openingai • today at 5:17 PM

Nice. I remember trying a couple problems once but this will be my first time completing the entire series. Very excited!

robin_reala • today at 2:33 PM

If you’re looking for other web design / dev advent calendars, Adrian Roselli has a decent list for this year: https://adrianroselli.com/2026/12/web-design-dev-advent-cale...

8bitbeep • today at 2:27 PM

I got a bit lazy, thought of reaching for AI and it broke my heart.

bradley13 • today at 2:11 PM

Funny feeling. I want to code this without AI. But the IDE autocomplete still exists, and is pretty clearly AI driven. Hmmm...

➕ show 8 replies
Ampersander • today at 2:04 PM

Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.

Eji1700 • today at 2:16 PM

Found Uiua a few days ago so I'm taking a stab with that along with my usual F#. Love it simply because hell yeah glyphs + i like the whole "just type the word and it'll figure it out" approach to glyphs.

➕ show 1 reply
phmx • today at 3:18 PM

What an adventure and puzzle feast, can't thank Eric Wastl enough for taking his time each year to prepare such a gift for all of us.

kleiba2 • today at 3:48 PM

By the way, the actual Christian Advent 2026 started already two days before December 1st! :)

➕ show 1 reply
upmostly • today at 3:25 PM

There's also the Advent of SQL 2026: https://www.dbpro.app/advent-of-sql

LanceH • today at 3:01 PM

I both love and hate Advent of Code.

I just can't resist the leaderboards, which means pulling the problems as soon as they are available.

This leads me to trying to perform maximally at 11pm, which leads me to not being able to sleep until my mind is less active.

Now I just have to wait until the whole thing is over and do the month all at once, with no competition.

My personal relationship with it aside, I love that it exists.

➕ show 3 replies
yerik • today at 2:57 PM

First day, so far quite fun. Decided to do this one entirely in the terminal, without writing code. Was a bit rusty on some commands but managed to get it pretty fast

➕ show 1 reply
efficax • today at 2:08 PM

I haven't written any code since early this year when my company went all in on LLMs and I became obsessed to see what I could do with them. This should be good to do the old fashioned way to get my brain back on its axis

jakozaur • today at 5:13 PM

https://advent-of-slop.quesma.com

A short, creative vibe coding puzzle. The first one is Slop Aquarium.

➕ show 1 reply
makerofthings • today at 4:03 PM

I love AoC. It's a shame the sloppers killed the global leaderboard, but we still have a nice competition going in the office.

bitbasher • today at 2:20 PM

> To play, please identify yourself via one of these services: [GitHub] [Google] [Twitter] [Reddit]

So, I can't play then?

➕ show 4 replies
random_cat_8745 • today at 5:01 PM

Will pick this up to code without AI like good old times!

On a satirical side note, someone should release an Advent of Vibe Code, featuring, but not limited to:

- one-shot a new operating system kernel

- rewrite a bank's system in Rust

- build a spreadsheet where every cell is an autonomous agent

kleton • today at 4:20 PM

> Should I use AI to solve Advent of Code puzzles? No.

A real lack of creativity and willingness to update. There are still interesting problems that would challenge a human working with a coding agent.

➕ show 2 replies
skywal_l • today at 5:01 PM

Why does this needs sponsors? Sony, JP Morgan Chase, Citadel Securities...

➕ show 1 reply
MattCruikshank • today at 4:40 PM

So wait, I'm supposed to... type... code?

I should turn off Intellisense...

Or just use Notepad++ or something... Like a cave-person...

GuB-42 • today at 2:38 PM

This whole thread feel like:

Guy posts a bunch of interesting chess puzzles

Here: Let's see what Stockfish can do

Of course you can use AI to solve the Advent of Code, but what's the point? That's not even a clever hack, it is the obvious thing, and there is no global leaderboard anymore, so you won't gain anything by doing that.

Maybe if you are a complete noob in AI coding and want to try it out, or maybe you want to challenge yourself with tiny models, but otherwise, wasting Claude tokens on it seem a bit childish.

profunctor • today at 2:08 PM

Looking forward to some manual coding!

streetfighter64 • today at 4:00 PM

Not to be a negative nancy or anything but every time I read advent of code threads I'm horrified at the level of programming knowledge amongst "techies". I consider myself a fairly mediocre programmer, but when I see how people talk about the "challenge" of finding the three most common elements in a list, I understand why the hiring process at many companies looks like it does.

( I enjoy AoC a lot, but the first week is really just an exercise in typing speed. Or perhaps warm-up on the language if you're using one you haven't used before. )

pluc • today at 1:59 PM

Where's the MCP for it so it can be entirely automated

➕ show 3 replies
aaronblomberg • today at 5:19 PM

thanks for sharing! reminds me of old BBS games

worble • today at 2:14 PM

Yes yes we get it no-one here writes code anymore. You don't need to comment that in every single thread because it adds nothing to the dicussion.

pelagicAustral • today at 2:14 PM

I wonder if it counts as cheating if I asked Claude to turn the input into a temp-table so I could query it... Would that count as AI assisted Advent?

➕ show 1 reply
Jackobrien • today at 2:02 PM

We are BACK

kevinsync • today at 2:39 PM

I just did both parts of day 1 in PHP. Felt like I was dumpster diving, I loved it!

gigatexal • today at 3:23 PM

Ima use this to hone my skills in swift.

Aldipower • today at 2:04 PM

"Advent aus Kot" more likely this year.

➕ show 1 reply
busssard • today at 2:58 PM

i am sad its only with signup...

baalimago • today at 2:34 PM

"Claude, solve the first task"

➕ show 1 reply
sph • today at 3:35 PM

What a pathetic comment section. It’s like being among a group of addicts.

0dayman • today at 3:42 PM

[dead]

🔗 View 4 more comments