Cover image for Zig monthly, November 2021: Pixel art editor, meetup talks, Advent of Code & more
Stephen Gutekanst for Zig monthly

Posted on

Zig monthly, November 2021: Pixel art editor, meetup talks, Advent of Code & more

Mini Pixel: a tiny pixel art editor written entirely in Zig

@captainhorst just released Mini Pixel:

It's a tiny pixel art editor for Windows (for now?) inspired by the likes of IDraw3 and Graphics Gale. I've written it entirely in Zig. The GUI is done from scratch and inspired by Windows 95 or more recently Serenity OS :^). All the graphics and especially the icons are vector based. So, if you have a nice high resolution screen everything stays sharp. [...]

Get it for free on itch.io now to try it out, or check out the code on GitHub!

Handmade Seattle talks, demos & podcasts

Handmade Seattle, the Independent Systems Programming Conference was held with numerous Zig attendees from around the world meeting for the first time in person, with board games and discussions late into the night in the hotel lobby - truly a great time:

(image credit: @croloris on Twitter)

Highly suggest checking out all of the Handmade Seattle talks if you haven't already. Some Zig highlights:

"A Practical Guide to Applying Data-Oriented Design" - Andrew Kelley (talk)

"The ZLD Linker" - Jakub Konka (demo)

"The race to replace C and C++" - Andrew Kelley, Ginger Bill, and Mason Remaley debating the merits of Zig, Odin, and Rust respectively. (podcast)

Rem: a full-blown HTML parser in Zig

@chwayne has made a ton of progress on Rem - now a full-blown HTML parser in Zig:

A while ago I shared an HTML parser that I was making. Only the tokenizer worked at that time, but I've made a lot of progress in the last few months, and it's now a full-blown parser!

zig-gamedev gains Bullet physics and more

@MichalZiulek continues his full-time work on zig-gamedev, an impressive project focused on gamedev using Zig, Windows 10+ APIs and DirectX 12. This month he released v0.2.0, bringing Bullet physics among other goodies-check out the new physics demo on YouTube:

Michal works full-time on zig-gamedev, so keep an eye out for more from him and consider sponsoring him on GitHub!

Using Zig with Cypress STM32 microcontrollers

Arwalk has written up an interesting tutorial on how to use Zig with Cypress STM32 microcontrollers.

Avokadoen's Zig+Vulkan gamejam submission

@Avokadoen participated in a ~1 day gamejam using nothing more than Zig and Vulkan, producing this hilarious depiction of +2k sprites battling it out:

Zig compiler progress

Austin Rude has enhanced the https://ziglang.org/perf performance dashboard:

Meanwhile, Andrew Kelley continues regular progress reports for the development of the self-hosted Zig compiler on Twitter:

Thanks to great work from Luuk de Gram, WASM joins the progress bar!

Zig self-hosted compiler progress report:

  • 153,862 lines of code
  • Behavior Tests Passing:
    • LLVM backend: 467/1072 (44%)
    • C backend: 234/1072 (22%)
    • WASM: 135/1072 (13%)
    • ARM, x86: 0/1072 (0%)

Additionally, the Zig v0.9 release is rapidly approaching-it will include numerous bug fixes and improvements-so keep an eye out for that coming soon!

Zig on the Oculus Quest (proof of concept)

@SpexGuy has created a repository with an example of how to create a minimal Oculus Quest app in Zig. Although just a proof of concept and not suitable for production use, it's a very compelling idea-check it out on GitHub and consider contributing to the project yourself!

Learn Zig by joining the Advent of Code

If you've been waiting for the perfect time to try and learn Zig, I highly encourage joining the several people who are doing the Advent of Code in Zig

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language

Here are a few ways you can join in:

And don't forget to add yourself to the Zig user community world map if you decide to stick around in the community :)

A brief note from me

The November issue of zigmonthly was delayed due to me getting COVID? superflu?, I'm much better now, but sorry for the delay!

When I started zigmonthly just a few months ago, my only goal was to bring more attention to the really awesome work that I kept seeing people post in Discord, on Twitter, etc. and aggregate it for people like myself who, when looking at Zig for the first time, may not be able to get a super clear picture of just how many people really are using Zig today.

Today, zigmonthly goes out to over 400+ subscribers and has had 16,000+ viewers. It absolutely means the world to me that this has been able to draw more attention to the awesome work everyone is doing in Zig-so thank you for reading!

If you like my work on zigmonthly, Mach engine, etc. consider sponsoring me on GitHub so I can do even more of it!

Top comments (2)

gonzus profile image
Gonzalo Diethelm

Hey, assuming you are the author and the person behind zigmonthly.org/ I wanted to bring your attention to the strange ordering of entries at the end of the page: September, August, November, October. Cheers!

slimsag profile image
Stephen Gutekanst

Oh weird! Thanks for reporting! Will fix :)