Advent of Code 2026

64 points324 commentsa day ago
alexfoo

At a previous company we also used AoC as part of a security exercise. It went something like this:

1) Wait until a particularly tricky problem day

2) Look for a suitable solution in the appropriate language in the daily solutions thread in Reddit.

3) Download and augment the solution with some typical credential stealing code with mild obfuscation (we'd prepared this bit in advance) that uploads partial credentials (github tokens, kubectl tokens, browser caches, etc) to a seemingly random third party site under our control

4) Upload this new code to a seemingly random github repo

5) Get our plant to share the link to the repo and say on the internal #programming slack channel: "I saw this solution in _language_ linked on the Reddit sub-thread for today's AoC puzzle, it might be useful if you want the correct answer for your input if you're having trouble, I haven't looked at it myself."

Sit back and see who falls for it. A surprising number of people did, and some (but not all) were doing this from the same account they used for their daily dev work. (Think of the recent Binance heist...)

It really hit home when we shared what credentials we had managed to capture and what could be done with them.

Even the ones using it from a non-work account were surprised at what we managed to exfiltrate.

Only a couple of people were using completely clean accounts created purely for aoc with no useful credentials exposed.

ArcHound

Please, try and use your brain for AoC. At least once a year, to practice and learn. It'll help your skills.

Leaderboard is gone, there are no real stakes. You don't even have to solve the problem on the day it appears, they'll wait.

And maybe you rediscover the joy of creating a solution of your own.

I've checked some research on this here: https://blog.miloslavhomer.cz/use-your-brain-even-if-the-mac...

show comments
xavdid

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.

show comments
WesleyJohnson

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 comments
pprotas

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 comments
wkjagt

Strange feeling that another year went by. AoC 2025 feels like such a short time ago. Reading all the comments here, and in the context of AoC, I am pretty happy that I never really started using AI for anything. For me AoC is as fun as it's always been. My only change this year is that I am doing it in C instead of Ruby.

show comments
fduran

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

show comments
josu

I can only code with agents, so last year I tried to get all 12 days of Advent of Code to run in under a millisecond combined. Running in parallel, my Rust solvers clocked a median of 0.805 ms.

https://github.com/josusanmartin/advent-25

diego_sandoval

"What man of us has never felt, walking through the twilight or writing down a date from his past, that he has lost something infinite?"

- Jorge Luis Borges

show comments
aspizu

https://x.com/aspizu_/status/2127818402098266217 - My Day 1 solution in Scratch made using goboscript

https://github.com/aspizu/goboscript - My programming language that compiles into Scratch.

neuwirth

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

show comments
tito

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 comments
oalders

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/

DuncanCoffee

I´d like to learn a new language but for now I'll stick to kotlin, I disabled my IDE hints, so I'm forced to go online and read the documentation everytime I can't remember how to use something. I'm also trying to solve everything with a one or two-liner.

Anyway the first problems are always easy, the second day this time is a bit too easy, since it's basically the opposite of the first day: calculating a maximum becomes calculating a minimum, and it just required flipping two conditions on my code.

shmolyneaux

I was tempted to use a new language for this, but `collections.Counter` in Python was just too tempting. I haven't done AoC for several years, but the writing here is really good.

drakonka

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 comments
6d65

This year I'm doing it in my own programming language in my own IDE written in my own programming language. Just chilling and having fun.

Definitely noticing things I have to improve in the language and IDE to make it smoother.

fjfaase

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

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 comments
kleiba2

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

show comments
Eji1700

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 comments
floren

I'm trying it in Medley Interlisp this year. Day 1 was a fun combination of remembering various ways Interlisp differs from Common Lisp, and figuring out how to use the structure editor again, and then just working out the actual code.

demindiro
robin_reala

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

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

bradley13

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

show comments
markhermeling

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...

Ampersander

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

upmostly

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

phmx

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.

openingai

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

efficax

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

LanceH

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 comments
yerik

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 comments
irishcoffee

I didn't even "program" anything for the first day, 2 really dead simple bash one-liners and a calculator, which I did not need a model to generate for me. The one-liners could probably get gussied up to do the math for me as well, but I didn't see the point.

ah27182

Everyone’s complaining about using AI and here I am feeling bad that I used the Duckdb CLI

random_cat_8745

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

bitbasher

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

So, I can't play then?

show comments
makerofthings

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

larodi

there are plenty of sponsors here https://adventofcode.com/2026/sponsors. what are they actually sponsoring and why advent of code needs sponsors to begin with?

show comments
MattCruikshank

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

I should turn off Intellisense...

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

saisundar

About to dive in, writing code with my hand like a caveman.

show comments
GuB-42

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.

show comments
profunctor

Looking forward to some manual coding!

streetfighter64

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. )

show comments
skywal_l

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

show comments
worble

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.

kleton

> 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 comments
pelagicAustral

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?

jakozaur

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

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

show comments
Jackobrien

We are BACK

kevinsync

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

aaronblomberg

thanks for sharing! reminds me of old BBS games

busssard

i am sad its only with signup...

gigatexal

Ima use this to hone my skills in swift.

Aldipower

"Advent aus Kot" more likely this year.

show comments
baalimago

"Claude, solve the first task"

show comments
sph

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

show comments
allthetime

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 comments
oblo_mov

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

show comments
rvz

I mean, is there a point to this given that AI is going to ruin it anyway?

It makes no sense to continue this since the cheaters will just spoil the point of it all.

EDIT: There we have it. The truth is, at least one person is going to use AI and then will eventually ruin the answers for everyone.

show comments