Fork me on GitHub
#adventofcode
<
2023-11-05
>
pesterhazy14:11:53

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

clojure-spin 2
pesterhazy14:11:12

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

borkdude14:11:39

I hope some people will try #C03U8L2NXNC

upvote 1
peterh18:11:25

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.

Max20:11:13

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
elken09:11:25

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

❤️ 1
karlis12:11:33

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

wow 2
Charles Comstock15:11:05

@U06F82LES 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
pesterhazy15:11:10

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

Andrew Meiners00:11:49

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
Phil Shapiro01:11:25

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
Georgi Stoyanov14:11:22

@U047L83TC77 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 🙈

clojure-spin 1
mauricio.szabo19:11:56

I am thinking about Smalltalk 😄

catjam 1
nice 2
tschady19:11:50

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

1
pez19:11:18

Good luck with that, @U1Z392WMQ 😃

tschady19:11:36

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

metal 1
j4m3s16:11:03

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)

pesterhazy16:11:18

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

j4m3s16:11:04

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

j4m3s16:11:11

Was a nice exercise 😄

Ben Sless05:11:46

Thinking of trying J