GithubHelp home page GithubHelp logo

rickwong / go-aoc Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 305 KB

Advent of Code in Go. First make it work, then right, then fast, then simple. Going for all puzzles < 1s.

License: GNU General Public License v3.0

Go 99.36% Just 0.64%
algorithms aoc datastructures go golang optimizations performance simd avx2 avx512 neon simde sse sve

go-aoc's Introduction

Advent of Code in Go

Fast and simple Advent of Code solutions written in Go. First make it work, then make it right, then make it fast. Going for all puzzles < 1s.

Year Stars Runtime
2021 15 0.22 s
2023 50 0.84 s

Installation

# get brew from https://brew.sh

# install just
brew install just

# install dependencies
just install

# build project
just build

Usage

# run with automatic restarts
just dev

# run tests with just once
just test

# run tests with automatic restarts
just devtest

# debug on port 5678 with automatic restarts
just debug

# format all the code
just format

# typecheck all the code
just typecheck

# lint all the code (lints are extra rules agreed upon by the team)
just lint

# audit all the code
just audit

VS Code extensions

  • Go (official)
  • Golang postfix code completion
  • Go Snippets
  • Tabnine AI
  • Task (official)

GoLand plugins

  • GitHub Copilot
  • Just
  • Rainbow Brackets
  • Tabnine AI

License

This project is licensed under the GNU General Public License version 3.0 (GPL-3.0, or GPLv3).

go-aoc's People

Contributors

rickwong avatar

Watchers

 avatar  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.