Failing to Learn Zig via Advent of Code

This page summarizes the projects mentioned and recommended in the original post on /r/Zig

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

    The way the file-as-a-struct syntax, when used with declaring fields, seems kinda funky the first time you encounter it (here's a random example from Zig's stdlib) but if you imagine the whole file's contents wrapped up in a struct {...} it starts to kinda make sense.

  • Here is my repo for reference https://github.com/danslocombe/advent-of-code-2021

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Zig-AoC-Template

    A template for Advent of Code participants using Zig

    I started with near minimal experience with zig, so the first few days were slow going. The https://github.com/SpexGuy/Zig-AoC-Template project was most likely the main reason I started and kept going with zig over another language.

  • Advent2021

    Advent of Code 2021 Solutions, in Zig

    Another valuable learning experience was comparing how others solved the same problems. I picked up a lot of zig idioms and clever patterns by looking at https://github.com/SpexGuy/Advent2021

  • semver

    Semantic Versioning Specification

    The official website says no leading zeroes: https://semver.org/

  • zig.vim

    Vim configuration for Zig

    About the fast zig check, looking around the the zig.vim plugin code, I think it would be zig fmt --ast-check.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts