Our great sponsors
-
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.
-
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.
-
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
-
The official website says no leading zeroes: https://semver.org/
-
About the fast zig check, looking around the the zig.vim plugin code, I think it would be zig fmt --ast-check.