Need help?
<- Back

Comments (480)

  • 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 day2) 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 control4) Upload this new code to a seemingly random github repo5) 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...
  • 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.
  • 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.
  • 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 hahahOn 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!)
  • fduran
    The Advent of Sysadmin variation: https://sadservers.com/advent2026 (free in-browser challenges, no registration needed. Disclaimer: I built this)
  • 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.
  • thr1owaway9621
    Looking forward to day 2!Day 1 gave me an opportunity to play with Python's `collections.Counter`, turns out it has a `.most_common()` method that you can use to return most frequent elements. Neat!
  • tomtom1337
    I was up at 6AM this morning (Norway time zone) and loved doing this again!Thank you to the creator!I always enjoy getting a first solution, then improving it to be more readable, and then being flabbergasted when I look up online how others are solving it.I'm keen to learn more strong typing languages, open for ideas.
  • brightball
    We've done an Advent of Code contest since 2023 to win tickets to the Carolina Code Conference. AI changed the formula a little bit this year so it's shifted to more of a personal development exercise since I have no way to regulate it.https://blog.carolina.codes/p/advent-of-code-2026If you want to flex your brain we'll be giving away 20 tickets this year.
  • neuwirth
    I'm doing the puzzles by hand in Haskell this year. Should be fun!
  • 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-d419ba6dI 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
  • 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.
  • 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.
  • 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
  • sumwise
    Dropping the global leaderboard feels like the right call. Private leaderboards with coworkers or friends were always the fun part anyway.Honestly the biggest reason I'm doing it without AI this year is just as a gut check. After leaning on autocomplete and coding agents all year, it's kind of wild how fast you forget basic language quirks until you sit down with a blank file and actually have to write a parser from scratch.
  • 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/
  • aspizu
    https://x.com/aspizu_/status/2127818402098266217 - My Day 1 solution in Scratch made using goboscripthttps://github.com/aspizu/goboscript - My programming language that compiles into Scratch.
  • kleiba2
    By the way, the actual Christian Advent 2026 started already two days before December 1st! :)
  • 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.
  • bel8
    My problem with AOC is the name.A good part of the challenges require specific knowledge to solve so it wasn't about code but specific algorithms, math, shortcuts to skip brute force, etc.
  • 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.
  • 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.
  • 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.
  • 8bitbeep
    I got a bit lazy, thought of reaching for AI and it broke my heart.
  • 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.
  • aniruddh__s
    Advent of Code is, by far, my favorite way of learning languages. In 3 year streak so far, I've learnt Rust, Haskell, Typescript, and Hardcaml. This year, I'm hoping to learn Zig, and at least one esoteric language.
  • laacz
    It took half a year to unlearn writing code from the get-go. The skill acquired for 30 years. Scary. So do the AoC for long gone fun. I'll do.
  • atonse
    Wow. The code I wrote for this (did it in elixir) was the first time I've actually written code in probably a year? My syntax was so rusty from not closing parentheses, etc.But that actually was fun.
  • 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...
  • demindiro
  • bradley13
    Funny feeling. I want to code this without AI. But the IDE autocomplete still exists, and is pretty clearly AI driven. Hmmm...
  • Ampersander
    Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.
  • 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.
  • upmostly
    There's also the Advent of SQL 2026: https://www.dbpro.app/advent-of-sql
  • 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...
  • 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.
  • 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
  • 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
  • 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
  • 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.
  • chilicuil
    what's is this? , it doesn't render ok in mobile (iphone)
  • ptmvp
    I'm not anti-AI but it does feel a bit hollow and sad, sign of the times, I even wondered for a moment if it still makes sense for adventofcode to continue existing.But I actually think it can play an important role in two ways. First, as a reminder, specially to less technical people like myself, of the challenges and complexity involved in what we now take for granted.Second, as a (re)spark of passion. People still journal with pen and paper, solve jigsaw puzzles, play solved games like tic-tac-toe with each other and paint portraits that will never match the "quality" of a digital photograph, and those activities are almost universally regarded as healthy and even romanticised a bit.Maybe now that advent of code no longer works as much of an employability signal it can actually be purer, even if it's a bit sad that we won't ever again have the healthy and impressive (to me at least!) competitiveness of the pre-LLM days.
  • 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
  • jgoewert
    Love AOC. It helped me flesh out learning all the ins and outs of Python over the years.Today was great because I could use a python library for the busywork and the [-1] feature of list traversal.Do all the negative people in the thread here and reddit also just take a picture of the Sudoku puzzle in their newspaper and as Grok to solve?
  • 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.
  • bitbasher
    > To play, please identify yourself via one of these services: [GitHub] [Google] [Twitter] [Reddit]So, I can't play then?
  • ah27182
    Everyone’s complaining about using AI and here I am feeling bad that I used the Duckdb CLI
  • GuB-42
    This whole thread feel like:Guy posts a bunch of interesting chess puzzlesHere: Let's see what Stockfish can doOf 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.
  • enjoyyourlife
    Will do it in TypeScript since there are still interviewers that ask me to hand code in TypeScript
  • 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?
  • 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. )
  • 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.
  • 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.
  • skywal_l
    Why does this needs sponsors? Sony, JP Morgan Chase, Citadel Securities...
  • Thorentis
    Being reminded of AoC fills me with what can only be described as something hauntological[1]. It is sad mix of nostalgia, the lost future I'll never have as somebody mastering their craft as a coder, a lament of the current state of the world and the "cheapness" of find solutions to interesting intellectual problems. The future is bleak.[1] https://en.wikipedia.org/wiki/Hauntology
  • desireco42
    Great that leaderboard is gone, it was crazy how many people did amazing work, really made me depressed, I literally didn't even start working on it, and there were already reddit threads about problem and everything.Having said that, since I am language creatorhttps://desireco.github.io/zhex/advent-of-code.htmlI will post solutions, but few days after. I use AoC to tweak and test my language features and to discover places how to make it more pleasant to use.If you want something fun to do, try Zhex for your AoC adventure this year. It is pleasant to look at, compiles to Wasm and is fairly performant, a little slower then Go.
  • poulpy123
    I totally forgot about this, and I see no one speaking about it online. It seems that AI killed any interest in AoC (not that I was able to do it anyway)
  • MisterMunchkin
    On the one hand AI makes it obsolete, but on the other hand, we could have much cooler competitions.Instead of asking people to solve a simple puzzle, you could ask them to implement the best object storage system, or the best compression algorithm. We could get some way more interesting competitions out of it.
  • 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?
  • 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.
  • Jackobrien
    We are BACK
  • kevinsync
    I just did both parts of day 1 in PHP. Felt like I was dumpster diving, I loved it!
  • jakozaur
    https://advent-of-slop.quesma.comA short, creative vibe coding puzzle. The first one is Slop Aquarium.
  • busssard
    i am sad its only with signup...
  • Aldipower
    "Advent aus Kot" more likely this year.
  • gigatexal
    Ima use this to hone my skills in swift.
  • aaronblomberg
    thanks for sharing! reminds me of old BBS games
  • ChrisArchitect
  • sph
    What a pathetic comment section. It’s like being among a group of addicts.
  • baalimago
    "Claude, solve the first task"
  • Buttons840
    I was disappointed at how little attention this is getting, but, for the record, it's just a countdown at this point. The actual coding challenge hasn't been revealed yet.
  • 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.
  • oblo_mov
    Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
  • smokel
    Apparently everyone is coding there and forgot to upvote this.
  • 0dayman
    [dead]
  • oblo_mov
    Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
  • rfgplk
    [dead]
  • rdevilla
    [dead]
  • 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.
  • 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.
  • mark_pinecone
    Is this even relevant since Clanker is doing all the coding these days?
  • pluc
    [flagged]
  • anti-soyboy
    [flagged]