I've been thinking about Advent of Code again, it's only a few months away now, :santa: and wondering if we would like to set ourselves any stretch goals? :smiley:
I'm confident we'll resolve these latest bugs and probably have builtin Task and Module Params by then ... sooo in this new exciting world, are there things we could build or prepare that would really showcase the best parts of roc for the holiday season? :holiday_tree:
One cool idea that comes to mind, is the roc editor embedded in the website that supports effects.
Wouldn't it be awesome to have a site where we can share our "Advent of Code" solutions and run them in the browser?
I imagine we could have a leaderboard with different stats on submitted solutions like lines of code, runtime performance, memory used, binary size ... (I'm only a little bit competitive I swear :sweat_smile: )
Anyway, can you think of a cool idea we could work on?
It's still easy for Roc users to hit compiler bugs, I'd love to focus on resolving those or providing better error messages when they happen. I think this currently is Roc's largest shortcoming.
For advent of code, you don't need any task. If you could embed a Roc editor on a website, it could use a very simple platform with: main : \Str, Str} -> (Str, Str)
Is there an up to date starter template for AoC 2024? I know there are a lot of ongoing changes, particularly around effectful code. I'd like to use AoC to dive into Roc in earnest for the first time.
https://gist.github.com/lukewilliamboswell/ddc9e63f4ae7771c5fde65f8d86f242d
Here's one, I just updated the first example from my aoc template repository. I'm wanting to update all of those examples before AoC ... but I'm holding out for purity inference :smiley:
Shoot, it's November already... I might need to get cracking on this.
Last updated: Jul 05 2025 at 12:14 UTC