Today is going to be short and sweet. I've decided to learn Zig, after being inspired by TIGER_STYLE. It's been a over three years since I've learned a new language, and I think it's about time I picked up a new one. Already my Go brain is struggling but it's part of the point I guess. This year I would like to do Advent of Code in Zig. Just finished installing the language, setting up the LSP, and I'm all set to go. This time I would like to do things a bit differently, I'm going to rely entirely on the language reference. It's going to be seem slower, but I want to learn about the language, from it's documentation. Although, I have come to rely on the documentation for all my programming use on a day to day basis, I have never tried to learn the language from the docs.
Day one, and I'm already seeing my brain being stretched, this is going to be fun, I can tell. Since, I'm on no time limit, I'm going to focus on learning the language the right way. I've got till December 1, 2024 to get fairly comfortable with the language to solve advent of code. It's been a long while since I've done C
, so this might be quite the challenge.
My primary language will still be Go, but I'm thinking for the browser project I might switch from Go to Zig. Few reasons, the browser would qualify as a difficult problem to try Tiger Style and perform Deterministic Simulation Testing. As everything except Disk failures can hinder how the browser performs. I'm quite excited, but also wondering how am I going to do this, I barely know anything about the language. But one of my goals is to be a better programmer, this seems like a step in the right direction.
Here's to Zig!