this post was submitted on 24 Nov 2024
22 points (95.8% liked)

Advent Of Code

777 readers
43 users here now

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

Relevant Communities

Relevant Links

Credits

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

console.log('Hello World')

founded 1 year ago
MODERATORS
 

Last year I used mainly crystal. This year I'm thinking pharo smalltalk, if I can pick it up in time

I also want to do visualizations, not sure how possible that is with smalltalk.

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 34 minutes ago* (last edited 33 minutes ago)

I don't code enough to justify investing time and energy into becoming fluent in a new language, andd habits die hard, so... perl. It does what I need it to do, and it is so thoroughly embedded in the back of my head that it's extremely rare that I have to look something up when writing.

[–] [email protected] 1 points 44 minutes ago

I want to learn rust but I don't think I have the socks for it

[–] [email protected] 1 points 3 hours ago

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!

[–] kahnclusions 9 points 9 hours ago (1 children)

This year I'm thinking of a real challenge and writing brainfuck with butterflies.

Or Rust. Rust is the way.

[–] [email protected] 3 points 8 hours ago

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

[–] Deebster 3 points 6 hours ago

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.

[–] [email protected] 14 points 10 hours ago (1 children)

I always use Rust, because I cannot use it at work and I am still bad with it.

[–] riskable 3 points 6 hours ago (1 children)

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

[–] [email protected] 3 points 5 hours ago

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.

[–] [email protected] 4 points 10 hours ago

Thinking of using nim again like last year

[–] [email protected] 3 points 9 hours ago

I like to use lisp. It is about the only time I get to use it, and I get a little better each year.

[–] [email protected] 4 points 11 hours ago (1 children)
[–] [email protected] 2 points 10 hours ago (1 children)
[–] [email protected] 2 points 8 hours ago

It'll definitely be running on hardware

[–] [email protected] 1 points 8 hours ago

I'm boring and going to try kotlin and rust. Perhaps some other language too if something comes up till the first.

[–] [email protected] 3 points 10 hours ago
[–] [email protected] 2 points 11 hours ago

I always use R! Sometimes I sprinkle in some Rcpp (c++ with extensions for interacting with R objects).

[–] Mikina 1 points 2 minutes ago

Really curious about how'd unsupervised AutoGPT handle it. Will probably require making some kind of agent that handles input and feedback loop, and it will definitely be a disaster, but could be interesting exercise.