# Advent of Code 2017

**URL:** <https://discourse.julialang.org/t/advent-of-code-2017/7478>\
**Category:** Community\
**Created:** [December 3, 2017, 6:03pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478 "2017-12-03T18:03:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Post date:** [December 3, 2017, 6:03pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/1 "2017-12-03T18:03:35Z")

</div>

I’m curious if anyone else is doing [Advent of Code 2017](http://adventofcode.com/2017) in Julia. If so it would be interesting to compare approaches! 🙂

I did a few problems from AoC 2016 and it was useful as a source of (small, simple) problems to learn some basics of Julia.

---

<div class="post-metadata">

**Author:** ![abelsiqueira](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abelsiqueira/32/47269_2.png) [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Post date:** [December 3, 2017, 8:05pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/2 "2017-12-03T20:05:21Z")

</div>

[I am too](https://github.com/abelsiqueira/AoC2017). I did 2016 fully on Julia also.

---

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [December 3, 2017, 8:27pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/3 "2017-12-03T20:27:45Z")

</div>

Very interesting competition, thank you. For me problem now that Julia is too powerful, so these tasks can be easily solved with brute force without much thinking and optimization 🙂

---

<div class="post-metadata">

**Author:** ![abelsiqueira](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abelsiqueira/32/47269_2.png) [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Post date:** [December 3, 2017, 8:30pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/4 "2017-12-03T20:30:05Z")

</div>

The last problems usually can’t be done with simple brute force. But if you still feel like it’s too easy, then I recommend trying to get the high scores.

---

<div class="post-metadata">

**Author:** ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Post date:** [December 6, 2017, 6:15pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/5 "2017-12-06T18:15:23Z")

</div>

I created a [private leaderboard](http://adventofcode.com/2017/leaderboard/private), code `191838-201bb994` if anyone wants to join that 🙂

---

<div class="post-metadata">

**Author:** ![dave.f.kleinschmidt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dave.f.kleinschmidt/32/55_2.png) [@dave.f.kleinschmidt](https://discourse.julialang.org/u/dave.f.kleinschmidt)\
**Post date:** [December 11, 2017, 3:35pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/6 "2017-12-11T15:35:12Z")

</div>

[Me too](https://github.com/kleinschmidt/advent-of-code-2017). I’m not particularly proud of all my code but it’s a fun diversion. I’m curious what other people came up with for day 8; seems like a place where many features of julia can really shine (metaprogramming, generic functions, interfaces) but I found it to be surprisingly tricky to get the syntax right for building expressions with `:()` and ended up just using `Expr` everywhere: [https://github.com/kleinschmidt/advent-of-code-2017/blob/master/day08.jl](https://github.com/kleinschmidt/advent-of-code-2017/blob/master/day08.jl)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [December 11, 2017, 4:58pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/7 "2017-12-11T16:58:02Z")

</div>

Here is my day 8: [https://gist.github.com/SimonDanisch/5e28555d1c15b3c7497c935a6dde92e7#file-advent8-jl](https://gist.github.com/SimonDanisch/5e28555d1c15b3c7497c935a6dde92e7#file-advent8-jl)

---

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [December 16, 2017, 10:40am UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/8 "2017-12-16T10:40:51Z")

</div>

I really like, how new puzzles force you to use knowledge from previous days! Day 16 is a real great example of that.

By the way, does anybody know, is there any specific name for problem in Day 13? I mean Day 12 for example about graphs and DFS algorithms, and Day 11 about measure metric on hex grid. But Day 13 is a mystery for me, but I have a feeling that it is a known problem in computer science.

---

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [December 25, 2017, 8:48pm UTC](https://discourse.julialang.org/t/advent-of-code-2017/7478/9 "2017-12-25T20:48:16Z")

</div>

My congratulations to everyone participating! It was really fun and challenging!
