I want to use ArkScript this year, a small lisp like language written in C++. Might be fun, might find ways to improve the standard library!
Advent Of Code
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')
Probably start with Rust again this year, although it definitely makes some of the days a lot harder. I might switch to something better for quick code if I fall too far behind.
I might even try PHP - I coded it professionally at the start of my career but haven't touched it for a decade and I'm curious to know if its improvements make it pleasant to use.
This year I'm thinking of a real challenge and writing brainfuck with butterflies.
Or Rust. Rust is the way.
Real programmers don't mess time messing around with butterflies or physically interacting with the world. They just intimidate the program into acting as they want through sheer fucking will
I always use Rust, because I cannot use it at work and I am still bad with it.
New Years resolution the past 5 years: I will get better with Rust.
...and I do get better but somehow it always feels like it's not enough. Like, I'm still an imposter.
I can program an entire embedded USB keyboard/mouse firmware from scratch that can do all sorts of things no keyboard has ever done before yet I still feel like a newbie somehow. Like there's all these people that talk about traits and mutli-threaring with async and GPU and AI stuff and I'm like, "I wrote an embedded_hal crate that lets you use both 8 and 16-channel multiplexers simultaneously!" or, "I wrote an interface that let's you use the extra space in your RP2040 flash memory as a filesystem!"
Yet everything I ever write in Rust always just uses the most basic and simple features because I still have trouble with complex lifetimes (passing them around quickly gets too confusing for me) and traits that work with non-basic types (because in the world of embedded 'static
is king).
Maybe you should work more on you self-esteem instead of rust?
Doesn't seem healthy to be good at something and not recognizing it as an accomplishment.
Thinking of using nim again like last year
I'm boring and going to try kotlin and rust. Perhaps some other language too if something comes up till the first.
6502 machine code
On real hardware?
It'll definitely be running on hardware
I like to use lisp. It is about the only time I get to use it, and I get a little better each year.
Whitespace
I always use R! Sometimes I sprinkle in some Rcpp (c++ with extensions for interacting with R objects).