adventofcode 2023-11-05

Less than a month to go until AOC2023. Which raises the obvious questions: What language to use? What to focus on? (Static types? Unit testing? Optimize for fast feedback? Learn new editor?)

2

@andrew.meiners same here. The idea to try different languages is a nice one, I could actually try Haskell or rust this year for some of the tasks ๐Ÿ™ˆ

1

I am thinking about Smalltalk ๐Ÿ˜„

1
2

my goal is to kill my completionism and quit when it ceases to be fun

๐Ÿ™Œ๐Ÿป 1

Good luck with that, @tws ๐Ÿ˜ƒ

iโ€™ve got hope, iโ€™ve managed to not lose any sleep for last 2 yrs, thatโ€™s a start.

1

Thinking of trying J

I'm thinking Elisp this year - not sure if this is wise...

I hope some people will try #squint

1

I am considering Janet, since I had a great experience learning it this year and I especially want to see how far I can go with PEGs (parsing expression grammars, built into Janet) and how I can work with a mix of imperative and functional code, maybe learning some C along the way.

I had a good time doing some of last yearโ€™s puzzles in APL. Thereโ€™s a relatively nice setup you can get working with an APL kernel for Jupyter. Some of the puzzles are more trouble than theyโ€™re worth though

๐Ÿคฏ 1

This year I'll try to finish it in clojure ๐Ÿ˜„ (and probably rust too as well as keeping performance acceptable as an exercise for performant clojure, that should be fun)

Performance or profiling could be an interesting focus. Flame graphs are so hard to read

A friend a mine did it a couple years ago with the goal of having of the exercises running under 1s of runtime

Was a nice exercise ๐Ÿ˜„

Clojure & #clerk is the dream combo ๐Ÿ™‚ https://www.juxt.pro/blog/using-clerk-for-aoc/

โค๏ธ 1

Another year, another naรฏve plan to use Idris 2 as the "language to learn".

2

@pesterhazy In the past, I've tried to do a new language each day, so solved a couple using elisp. It was interesting, though a struggle to move back into the mutable mindset. Restartable error conditions were nice though.

๐Ÿ™Œ 1

I'd like to be more comfortable with writing my own emacs modes. So I figured elisp might help with that

I'm still a Clojure beginner so just plain and simple Clojure for as far as I can reach! Probably dropping into Java since I have work experience with that once I hit the wall

๐Ÿ‘ 1

The first year I did AoC I used elisp. Not sure I learned much from it that would help writing a custom emacs modeโ€ฆ I did learn a lot about Common Lisp style loop. https://github.com/pshapiro4broad/advent2019

๐Ÿ˜ƒ 1