r/ryelang • • 50m ago

Advent of Code 2026 started

Post image
2 Upvotes

I won't be participating in this year's AoC. I usually did like first 5 days, then it just started to take too much of my time. But first few days were very fun, and each time I found new things to add to Rye and bugs. This year, fellow from #homoiconic Discord already did 2 solutions, and already found a bug in `group` function, which was fixed.

It seems to me that at least first day can be most naturally solved with tables, so I did quick solution although *I'm not doing AoC this year, really, I'm not ....* (It's very tempting to look and then just try to do a quick solution, but it doesn't end there :))

My focus this year goes trying to write bigger programs in Rye, learning from that, improving Rye based on that, and also releasing that once ready. One program I'm working in tarsnapper-rye, another is a version of API/webhook/clien gateway (which includes server and GUI parts), third is GUI (Fyne) email client and Rye Console.

If you will be doing AoC with Rye or any other #homoiconic language this year, yo are welcome to post your solutions to our discord: https://discord.gg/J8FBrCSqve

AoC effort from Discord user @ sirlan will also result in me greatly improving argument errors. For one they will show the "probe" of type+value that it got. And if I succeed I will make an option to go into interactive mode with the value injected, and be able to fix/solve the argument and continue program.

---

On the third side, I did a lot of internal / performance work recently. And I am really trying to write the next blogpost for more than a month, have it half written, but lack the motivation somewhat since I'm not sure it will make any difference. Before LLM-s I was quite motivated to put a new blogpost out at least every 2 months. We will see ...

---

In general, if you are working on any challenges with Rye ... Rye console with --localhist flag is your friend (saves your history locally, clean up the file and you have a script). `probe` is your greatest ally as it can inline (in pipe) show your value and type. And for any table work, `display` and `explore` are a must.