A quick blog update

I wanted to push an update to this blog as I finally ripped out Google Analytics from these pages. The GA scripts got out of date and I didn’t need the analytics anyway. Haven’t touched the blog code since 2021 so it took some catching up to get the Haskell Hakyll based blog to build.

If you’ve followed me on Twitter, you may have noticed I’ve gone silent there. I’m not a fan of the X site so you may find me on mastodon.gamedev.place/@nurpax or on bsky.app/profile/nurpax.bsky.social instead.

I’ve lately been interested in the Zig programming language. Here’s a couple of Zig projects that I’ve either authored or have been involved in somehow:

  • Zigrograd - scalar-valued autograd written in Zig. Inspired by Andrej Karpathy’s micrograd, I decided to port micrograd to Zig. It contains a mini-implementation of Numpy (ehh, zigpy?) and the autograd engine is tensor based now. It’s actually pretty fast for a CPU-only implementation. I’ve been adding convolutional layers to it too but haven’t released it yet as the GEMM routine at the core of those layers is not fast enough yet. It’s just a coding playground type of project, not intended to be really useful for anything.

  • Ziglua - Zig bindings for Lua/(soon to be released) Luau. I didn’t author this, have just been reviewing and suggesting changes to it to add Luau support. I’m interested in using Luau in some personal gamedev projects.

  • Zig-imgui - Sokol gfx + imgui setup for Zig. Very much WIP and very likely to fail to build (“The build breaks will continue until morale improves” as they say in the Zig circles..).

I think I’ll write more about Ziglua here later.

Happy New Year!