Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (30 sloc) 1.22 KB
---
layout: post
title: 'Advent of code 2016'
permalink: '/advent_of_code_2016/'
tags: ['adventofcode', '2016', 'solution', 'rust', 'rust-lang']
---
<div class="lead">
<p>
Every year (since last year) Eric Wastl organizes a programming contest. The contest runs
from December 1st to December 25th and each day a puzzle is revealed at midnight UTC.
</p>
<p>
Some people compete for speed. I decided to use this as an opportunity to learn a new
programming language and picked <a href="https://www.rust-lang.org">Rust</a>.
</p>
</div>
<div>
<p>
Rust is a system's language which is designed with interesting safety properties. The memory model doesn't
use a garbage collector or reference counting scheme, but instead leverages a borrow system which reminds me
of <a href="https://github.com/pikatchu/LinearML/blob/b1a49f153e02f3cffb32784f2eeb7fca017b2791/README">LinearML</a>.
</p>
<p>
In theory, such a system is more efficient as the number of cores on our processor grows. Let's see how this plays
out in the long term?
</p>
<p>
You can see how I'm doing or learn from my solutions by checking out <a href="https://github.com/alokmenghrajani/adventofcode/">my Rust repo</a>.
</p>
</div>