bjorng

bjorng

Erlang Core Team

Note: This topic is to talk about Day 15 of the Advent of Code.

For general discussion about the Advent of Code 2018 and links to topics of the other days, see this topic.

Showing Posts 1 to 3

bjorng

bjorng OP

Erlang Core Team

After Day 15 it was a relief to find that Day 16 was relatively straightforward.

I started by putting all implementations of all instructions in a separate Machine module, adding a code example for each instruction. That way, I could run the tests and be reasonably sure that I didn’t have any silly bugs in the instructions before starting the work on the puzzle solving code itself.

Here is my solution.

sasajuric

sasajuric

Author of Elixir In Action

This is my solution. I agree that today’s challenge was much simpler than day 15. The most interesting thing for me was computing the mapping of opcodes to instructions.

JEG2

JEG2

Author of Designing Elixir Systems with OTP

Day 16 was fun! Here’s my solution:

https://github.com/JEG2/advent_of_code_2018/blob/master/day_16/chronal_classification.exs

Here’s a video of me creating it (available for 14 days):

— All posts loaded —

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews