Stream: contributing

Topic: Advent of Code 2024


view this post on Zulip Luke Boswell (Aug 14 2024 at 08:53):

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?

view this post on Zulip Anton (Aug 14 2024 at 09:07):

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.

view this post on Zulip Oskar Hahn (Aug 15 2024 at 13:48):

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)

view this post on Zulip Caleb Weeks (Nov 07 2024 at 01:58):

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.

view this post on Zulip Luke Boswell (Nov 07 2024 at 02:07):

https://gist.github.com/lukewilliamboswell/ddc9e63f4ae7771c5fde65f8d86f242d

view this post on Zulip Luke Boswell (Nov 07 2024 at 02:07):

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:

view this post on Zulip Luke Boswell (Nov 07 2024 at 02:12):

Shoot, it's November already... I might need to get cracking on this.


Last updated: Jul 05 2025 at 12:14 UTC