What language(s) will you be using? Will you be trying anything different this year to usual?

1 point

I’ve decided to catch up with what’s new in Python (language itself and the ecosystem). I’ve set up a repository with pyproject.toml, and git hooks configured, and I’m running pylint, pytype and pytest.

You can check it out here: https://github.com/hades/aoc23

Of course, any feedback (or pull requests) is welcome, especially if you’re familiar with all the new things in Python land.

permalink
report
reply
3 points

I’m going to try to use both zig and gerbil. Usually i use clojure, so might fallback to that as well. I started doing puzzles from 2015 this week, and that’s been fun so far

permalink
report
reply
1 point

I’ve done it with a new language each year in the past, but this year I decided to do it with stuff I’m very familiar with - with an added twist: I have to visualize something for each day.

So I built myself a little app/puzzle harness that serves up the sample/puzzle input and provides some boilerplate so I can just write the x-data for a new Alpine.js module for each day. Then I setup d3 and plan to visualize something for each day using it. For example, I just settled on a simple bar graph (final value of each row) for each part of day 1:

Hoping once it inevitably gets to grids and such, I can do something more interactive. Would love to have something where I can animate or manually step through each step of the solution (such as the pathfinding algorithm last year).

permalink
report
reply
3 points

I’m using rust. I’m hoping I’ll be able to finish all the days unlike last year.

permalink
report
reply
1 point

It’s my first time participating, and I’ll be sticking with Java since I’m getting ready to interview, but might switch to Go midway through if I get bored

permalink
report
reply

Advent Of Code

!advent_of_code@programming.dev

Create post

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

  • Follow the programming.dev instance rules
  • Keep all content related to advent of code in some way
  • If what youre posting relates to a day, put in brackets the year and then day number in front of the post title (e.g. [2023 Day 10])
  • When an event is running, keep solutions in the solution megathread to avoid the community getting spammed with posts

Relevant Communities

Relevant Links

Credits

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

console.log('Hello World')

Community stats

  • 1

    Monthly active users

  • 63

    Posts

  • 346

    Comments