Giter VIP home page Giter VIP logo

adventofcode2018's Introduction

Advent of Code 2018

Forked from narimiran's AoC 2017, I plan to progressively fill in my solution for Advent of Code 2018.

My goal is to have fun and learn Nim. Since I know better Python, I will try first to solve the puzzle using Python. Then port the code to Nim. Since I really want to learn Nim, I will not submit a solution until the Nim code works.

ย 

Task Python solution Nim solution Learning Notes
Day 1: Chronal Calibration day01.py day01.nim At first I was not able to get Nim as fast as Python, still have to check exact times (remember to use d:release flag for nim)
Day 2: Inventory Management System day02.py day02.nim Had some hard time finding out an issue with CountTable in proc (see mega thread in forum), in the end my solution was more correct than the python one
Day 3: No Matter How You Slice It day03.py day03.nim Learned about objects and custom types in nim, code with a lot of parallelism between python and nim (I did not use numpy and arraymancer, but I should later on)

adventofcode2018's People

Contributors

narimiran avatar pietroppeter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.