Skip to content

My solutions in Go for Advent of Code 2016 in Go. Done in 2019.01.

Notifications You must be signed in to change notification settings

metalim/adventofcode.2016.go

Repository files navigation

Advent of Code 2016 in Go

These are my soluions for Advent of Code 2016 written in Go.

I've solved them in Coffeescript one year ago. But since I'm learning Go at the moment, and have just finished writing solutions for puzzles for years 2017 and 2018, I've decided to continue with 2016 puzzles, refactoring and cleaning up solutions as much as possible.

Goals:

  • implement generic code, that can come in handy during programming contests;
  • same as for years 2017/2018: learn & document quirks & tricks of Go, which are new to me.

"Go gotchas"

Go is low-level language with built-in concurrency and garbage collection, designed as a highly efficient C++ or Java competitor. To achieve high speed (both in compilation and execution), some surprising design decisions were made. It takes time to learn them.

For list of quirks found previously, refer to README of my Go solutions for year 2018 and 2017.

Puzzle inputs

Inputs are automatically retrieved from Advent of Code, provided you put at least one <session-name>.cookie into inputs/ folder. To get the cookie, refer to website properties in your browser, after logging in into Advent of Code website.

Log

Check out LOG.md for specifics of each task.

All years AoC solutions

About

My solutions in Go for Advent of Code 2016 in Go. Done in 2019.01.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages