# Latest

**URL:** https://ziggit.dev/latest.md

[Latest](https://ziggit.dev/latest.md) · [Categories](https://ziggit.dev/categories.md) · [Tags](https://ziggit.dev/tags.md)

---

## [🍳 Now You're Cooking! - A Roguelike Deckbuilder](https://ziggit.dev/t/now-youre-cooking-a-roguelike-deckbuilder/17763)

<div class="topic-metadata">

**Author:** [@MasonRemaley](https://ziggit.dev/u/MasonRemaley)\
**Replies:** 14\
**Last updated:** [October 1, 2026, 5:11pm UTC](https://ziggit.dev/t/now-youre-cooking-a-roguelike-deckbuilder/17763 "2026-10-01T17:11:45Z")

</div>

:cooking: Now You’re Cooking! - A Roguelike Deckbuilder Now You’re Cooking! is a roguelike deckbuilder about running your own restaurant. Cook delicious meals, build an extravagant menu, and keep your pat…

---

## [What's everybody working on? (October edition)](https://ziggit.dev/t/whats-everybody-working-on-october-edition/17770)

<div class="topic-metadata">

**Author:** [@samuel-fiedler](https://ziggit.dev/u/samuel-fiedler)\
**Replies:** 0\
**Last updated:** [October 1, 2026, 4:40pm UTC](https://ziggit.dev/t/whats-everybody-working-on-october-edition/17770 "2026-10-01T16:40:17Z")

</div>

I like that this becomes something like a monthly tradition here. So I’ll have to do another one of those this month. To cite Andrew Kelley: Previous threads: What's everybody working on? What's everybody working o…

---

## [SDL (noob)](https://ziggit.dev/t/sdl-noob/17759)

<div class="topic-metadata">

**Author:** [@ericlang](https://ziggit.dev/u/ericlang)\
**Replies:** 6\
**Last updated:** [October 1, 2026, 3:29pm UTC](https://ziggit.dev/t/sdl-noob/17759 "2026-10-01T15:29:55Z")

</div>

I decided I have to do some SDL stuff, instead of digging into the windows API. This is step zero for me… Never did anything with the plethora of graphics / sound etc. possibilities. What I do not want is a build.zig o…

---

## [\`zig cc -g\` is ignoring me 😭](https://ziggit.dev/t/zig-cc-g-is-ignoring-me/17768)

<div class="topic-metadata">

**Author:** [@felixrabe](https://ziggit.dev/u/felixrabe)\
**Replies:** 2\
**Last updated:** [October 1, 2026, 3:10pm UTC](https://ziggit.dev/t/zig-cc-g-is-ignoring-me/17768 "2026-10-01T15:10:51Z")

</div>

tldr: -g works with mingw, but not zig cc. Why? I’m using Zig 0.16 now, but am open to try master. Story time: I fell into the Handmade Hero wormhole and started out using (on Arch Linux) x86\_64-w64-mingw32-g++ and w…

---

## [Appreciation For ZVM](https://ziggit.dev/t/appreciation-for-zvm/17677)

<div class="topic-metadata">

**Author:** [@3dski7059](https://ziggit.dev/u/3dski7059)\
**Replies:** 11\
**Last updated:** [October 1, 2026, 2:49pm UTC](https://ziggit.dev/t/appreciation-for-zvm/17677 "2026-10-01T14:49:57Z")

</div>

ZVM Its been awhile since I’ve looked at zig. I’m a Kubuntu user and always find application installations cumbersome; out-of-date or non-existent packages, package management repo entry or not, AppImage, clone and bui…

---

## [Site Maintenance](https://ziggit.dev/t/site-maintenance/17767)

<div class="topic-metadata">

**Author:** [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Replies:** 0\
**Last updated:** [October 1, 2026, 11:08am UTC](https://ziggit.dev/t/site-maintenance/17767 "2026-10-01T11:08:19Z")

</div>

Site will be down for maintenance from \[2026-10-01T11:00:00Z (UTC)→2026-10-01T13:00:00Z (UTC) for maintentance.

---

## [Knots - A library for building GUIs with Zig](https://ziggit.dev/t/knots-a-library-for-building-guis-with-zig/15244)

<div class="topic-metadata">

**Author:** [@shahwali](https://ziggit.dev/u/shahwali)\
**Replies:** 11\
**Last updated:** [October 1, 2026, 8:54am UTC](https://ziggit.dev/t/knots-a-library-for-building-guis-with-zig/15244 "2026-10-01T08:54:09Z")

</div>

Hi! In this post I briefly mentioned an immediate-mode GUI library I was working on, that is being used to build a watch-party MPV client. I wanted to make a more detailed post sharing more about the GUI library knots wh…

---

## [Whats the most popular GRPC solution today?](https://ziggit.dev/t/whats-the-most-popular-grpc-solution-today/17397)

<div class="topic-metadata">

**Author:** [@TheDarkUndoing](https://ziggit.dev/u/TheDarkUndoing)\
**Replies:** 9\
**Last updated:** [October 1, 2026, 7:02am UTC](https://ziggit.dev/t/whats-the-most-popular-grpc-solution-today/17397 "2026-10-01T07:02:26Z")

</div>

Im looking for a maintained/community used grpc library. however, so far all I have seen look like LLM projects created recently with no one using them, or wrappers for grpc/core library. For those using grpc in their p…

---

## [Packed array of enum](https://ziggit.dev/t/packed-array-of-enum/17757)

<div class="topic-metadata">

**Author:** [@gwenzek](https://ziggit.dev/u/gwenzek)\
**Replies:** 7\
**Last updated:** [October 1, 2026, 6:05am UTC](https://ziggit.dev/t/packed-array-of-enum/17757 "2026-10-01T06:05:14Z")

</div>

I’m trying to do more DoD, but struggling with some ergonomic issues. I have a const Spec = enum(u4) {...} and I want to store 8 of it. What is the best option ? \[8\]Spec seems to defeat the purpose of packing stuff in …

---

## [Function name](https://ziggit.dev/t/function-name/17765)

<div class="topic-metadata">

**Author:** [@zeeqeeng](https://ziggit.dev/u/zeeqeeng)\
**Replies:** 2\
**Last updated:** [October 1, 2026, 5:27am UTC](https://ziggit.dev/t/function-name/17765 "2026-10-01T05:27:15Z")

</div>

If x is callable, and x’s return type is type, then x should be TitleCase. If x is otherwise callable, then x should be camelCase. Io.File.writer()'s return type is Writer, shouldn’t it be named to ‘Writer()’ here? O…

---

## [How do you space grouped functions?](https://ziggit.dev/t/how-do-you-space-grouped-functions/17760)

<div class="topic-metadata">

**Author:** [@skdishansachin](https://ziggit.dev/u/skdishansachin)\
**Replies:** 4\
**Last updated:** [October 1, 2026, 5:05am UTC](https://ziggit.dev/t/how-do-you-space-grouped-functions/17760 "2026-10-01T05:05:47Z")

</div>

I was reading lib/std/array\_hash\_map.zig and noticed some related functions are grouped with no empty line between them, e.g. removeByKey → removeByKeyGeneric around 1145-1146. And I also saw that same pattern everywhere…

---

## [Hocon for zig](https://ziggit.dev/t/hocon-for-zig/17720)

<div class="topic-metadata">

**Author:** [@lejmr](https://ziggit.dev/u/lejmr)\
**Replies:** 2\
**Last updated:** [October 1, 2026, 4:47am UTC](https://ziggit.dev/t/hocon-for-zig/17720 "2026-10-01T04:47:36Z")

</div>

I would like to show you what I have been working on over summer and mostly during my evenings after work. A HOCON parser for Zig: GitHub - lejmr/zig-hocon: HOCON (Human-Optimized Config Object Notation) parser for Zig…

---

## [Field defaults](https://ziggit.dev/t/field-defaults/17755)

<div class="topic-metadata">

**Author:** [@matklad](https://ziggit.dev/u/matklad)\
**Replies:** 17\
**Last updated:** [September 30, 2026, 9:34pm UTC](https://ziggit.dev/t/field-defaults/17755 "2026-09-30T21:34:16Z")

</div>

std.Io.Mutex is intended to be initialized with a declaration literal: my\_mutex: Mutex = .init; An alternative design would be to make the following work: my\_mutex: Mutex = .{}; And this is how it used to work. What…

---

## [TFS: Investigating trailer identity from existing network data](https://ziggit.dev/t/tfs-investigating-trailer-identity-from-existing-network-data/17746)

<div class="topic-metadata">

**Author:** [@dmckinney](https://ziggit.dev/u/dmckinney)\
**Replies:** 3\
**Last updated:** [September 30, 2026, 9:14pm UTC](https://ziggit.dev/t/tfs-investigating-trailer-identity-from-existing-network-data/17746 "2026-09-30T21:14:11Z")

</div>

Trailer Fingerprint Software (TFS) Hello. I started working on TFS because I kept coming back to a persistent mosquito-idea I’ve had: can the information already being exchanged between a tractor and trailer be used to…

---

## [Zig Tutorial: Every Snippet Verified Against Master · Zig Guide Live](https://ziggit.dev/t/zig-tutorial-every-snippet-verified-against-master-zig-guide-live/16991)

<div class="topic-metadata">

**Author:** [@rajeshpillai](https://ziggit.dev/u/rajeshpillai)\
**Replies:** 14\
**Last updated:** [September 30, 2026, 6:18pm UTC](https://ziggit.dev/t/zig-tutorial-every-snippet-verified-against-master-zig-guide-live/16991 "2026-09-30T18:18:26Z")

</div>

Zig Guide Live I have been writing a Zig guide at ziglang.in and it is far enough along to be worth showing. I have created this for me and my two member zig team. But as the content is tested and all code is working, …

---

## [Function parameter](https://ziggit.dev/t/function-parameter/17756)

<div class="topic-metadata">

**Author:** [@zeeqeeng](https://ziggit.dev/u/zeeqeeng)\
**Replies:** 12\
**Last updated:** [September 30, 2026, 5:27pm UTC](https://ziggit.dev/t/function-parameter/17756 "2026-09-30T17:27:58Z")

</div>

Edit: makes original post as a question. I want to know when a method needs to take the outer type as first parameter? Take the common Iterator as example: A next() method of type Iterator usually takes the type it live…

---

## [State of the (Tagged) Union Address by Andrew Kelley](https://ziggit.dev/t/state-of-the-tagged-union-address-by-andrew-kelley/17745)

<div class="topic-metadata">

**Author:** [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Replies:** 14\
**Last updated:** [September 30, 2026, 5:21pm UTC](https://ziggit.dev/t/state-of-the-tagged-union-address-by-andrew-kelley/17745 "2026-09-30T17:21:57Z")

</div>

---

## [Sort array by two parameters](https://ziggit.dev/t/sort-array-by-two-parameters/17758)

<div class="topic-metadata">

**Author:** [@lukeflo](https://ziggit.dev/u/lukeflo)\
**Replies:** 14\
**Last updated:** [September 30, 2026, 12:53pm UTC](https://ziggit.dev/t/sort-array-by-two-parameters/17758 "2026-09-30T12:53:02Z")

</div>

Hi, still dealing with my directory entry lists I have a general question: is it possible to sort a list by two different parameters of the list items in a single step? I just read throush the std.mem.sort... functions …

---

## [Undecypherable Error on Aarch64 Platform](https://ziggit.dev/t/undecypherable-error-on-aarch64-platform/17749)

<div class="topic-metadata">

**Author:** [@vivichrist](https://ziggit.dev/u/vivichrist)\
**Replies:** 6\
**Last updated:** [September 30, 2026, 11:59am UTC](https://ziggit.dev/t/undecypherable-error-on-aarch64-platform/17749 "2026-09-30T11:59:36Z")

</div>

I have an OrangePi 4 LTS with Armbian installed. On my Desktop PC zig build works, compiles, runs. But on the Aarch64 (4 x Cortex-A53 2 x Cortex-A72) system. I get the following and I can’t find an answer. Perhaps my wra…

---

## [Xit: a version control system](https://ziggit.dev/t/xit-a-version-control-system/8880)

<div class="topic-metadata">

**Author:** [@xeubie](https://ziggit.dev/u/xeubie)\
**Replies:** 31\
**Last updated:** [September 30, 2026, 10:42am UTC](https://ziggit.dev/t/xit-a-version-control-system/8880 "2026-09-30T10:42:16Z")

</div>

Hi guys, I’m working on a version control system. Nothing big and professional like git :^)

---

## [More comptime?](https://ziggit.dev/t/more-comptime/17729)

<div class="topic-metadata">

**Author:** [@trampinheavy](https://ziggit.dev/u/trampinheavy)\
**Replies:** 5\
**Last updated:** [September 30, 2026, 4:55am UTC](https://ziggit.dev/t/more-comptime/17729 "2026-09-30T04:55:59Z")

</div>

I’m just curious why I can’t do something like have a variable that is defined at comptime but still a variable? As long as it’s only modified after comptime it shouldn’t matter that it is a var, but the compiler won’t l…

---

## [Using dependencies during build time](https://ziggit.dev/t/using-dependencies-during-build-time/17748)

<div class="topic-metadata">

**Author:** [@ErenayDev](https://ziggit.dev/u/ErenayDev)\
**Replies:** 7\
**Last updated:** [September 30, 2026, 2:43am UTC](https://ziggit.dev/t/using-dependencies-during-build-time/17748 "2026-09-30T02:43:35Z")

</div>

Hi. I’m trying to use Ziggy and zmime dependencies in the build time. My goal is reading the user configuration file with Ziggy and detecting mime type of the frontend path that i got from Ziggy with zmime and writing th…

---

## [From a developer soon to retire](https://ziggit.dev/t/from-a-developer-soon-to-retire/17643)

<div class="topic-metadata">

**Author:** [@zelda-rageux](https://ziggit.dev/u/zelda-rageux)\
**Replies:** 74\
**Last updated:** [September 30, 2026, 1:50am UTC](https://ziggit.dev/t/from-a-developer-soon-to-retire/17643 "2026-09-30T01:50:28Z")

</div>

(English is not my native language, this message is translated by Google, I apologize in advance if some of the translation doesn’t reflect what I mean.) I hesitated for a long time before writing this message. I’m 59 …

---

## [Printing nested types with custom formatting](https://ziggit.dev/t/printing-nested-types-with-custom-formatting/17742)

<div class="topic-metadata">

**Author:** [@matklad](https://ziggit.dev/u/matklad)\
**Replies:** 5\
**Last updated:** [September 29, 2026, 8:59pm UTC](https://ziggit.dev/t/printing-nested-types-with-custom-formatting/17742 "2026-09-29T20:59:54Z")

</div>

I can use f to print a type with a custom formatting function. Is there a format specifier that works like f, but recursively? Print with format if it exists, otherwise fall back to any. Basically, how it used to work in…

---

## [Zig grammar for tree-sitter](https://ziggit.dev/t/zig-grammar-for-tree-sitter/17702)

<div class="topic-metadata">

**Author:** [@guifersv](https://ziggit.dev/u/guifersv)\
**Replies:** 5\
**Last updated:** [September 29, 2026, 8:28pm UTC](https://ziggit.dev/t/zig-grammar-for-tree-sitter/17702 "2026-09-29T20:28:50Z")

</div>

tree-sitter-zig: I was thinking about creating a tree-sitter grammar for zig before the college semester starts but it takes more time than a thought (3 weeks), not even full released yet. I did some progress because of…

---

## [The future of ZLS and the compiler daemon](https://ziggit.dev/t/the-future-of-zls-and-the-compiler-daemon/17750)

<div class="topic-metadata">

**Author:** [@resonancel](https://ziggit.dev/u/resonancel)\
**Replies:** 4\
**Last updated:** [September 29, 2026, 3:20pm UTC](https://ziggit.dev/t/the-future-of-zls-and-the-compiler-daemon/17750 "2026-09-29T15:20:15Z")

</div>

IIUC, Zig’s semantics are operational in nature and most probably not going to change in the coming future. I have no problem with that as the procedural, stateful nature of comptime has opened up lots of use cases. An i…

---

## [I have created a small abstraction library for PCRE2 compatiblity \[zig-pcre\] this is absolutely stable accross new versions of Zig](https://ziggit.dev/t/i-have-created-a-small-abstraction-library-for-pcre2-compatiblity-zig-pcre-this-is-absolutely-stable-accross-new-versions-of-zig/17693)

<div class="topic-metadata">

**Author:** [@rminol](https://ziggit.dev/u/rminol)\
**Replies:** 2\
**Last updated:** [September 29, 2026, 11:47am UTC](https://ziggit.dev/t/i-have-created-a-small-abstraction-library-for-pcre2-compatiblity-zig-pcre-this-is-absolutely-stable-accross-new-versions-of-zig/17693 "2026-09-29T11:47:45Z")

</div>

zig-pcre: Hi Community, I was developing a web application using http.zig (Purely from @karlseguin). At one moment, I wanted to validate user inputs using regular expressions. I searched the internet for most widely use…

---

## [Discussion on real world use of AI with zig](https://ziggit.dev/t/discussion-on-real-world-use-of-ai-with-zig/17753)

<div class="topic-metadata">

**Author:** [@Nika](https://ziggit.dev/u/Nika)\
**Replies:** 4\
**Last updated:** [September 29, 2026, 11:25am UTC](https://ziggit.dev/t/discussion-on-real-world-use-of-ai-with-zig/17753 "2026-09-29T11:25:59Z")

</div>

Looks cool, but I’m very surprised by that last part. Why would it have taken you several months? How many loc was the output to that 1 prompt? Also, why do you want to promote Zig with LLM generated software when you k…

---

## [Getting \`zig build test\` to find all the tests in my module](https://ziggit.dev/t/getting-zig-build-test-to-find-all-the-tests-in-my-module/6276)

<div class="topic-metadata">

**Author:** [@kj4tmp](https://ziggit.dev/u/kj4tmp)\
**Replies:** 18\
**Last updated:** [September 29, 2026, 10:24am UTC](https://ziggit.dev/t/getting-zig-build-test-to-find-all-the-tests-in-my-module/6276 "2026-09-29T10:24:15Z")

</div>

Edit: Changed title from “Should I put std.testing.refAllDecls(@This()); in all my files?” Ziggits docs suggest using test { std.testing.refAllDeclsRecursive(@This()); } in my root.zig But this is problematic wh…

---

## [Coding style of initializing things](https://ziggit.dev/t/coding-style-of-initializing-things/17710)

<div class="topic-metadata">

**Author:** [@ericlang](https://ziggit.dev/u/ericlang)\
**Replies:** 10\
**Last updated:** [September 29, 2026, 9:52am UTC](https://ziggit.dev/t/coding-style-of-initializing-things/17710 "2026-09-29T09:52:03Z")

</div>

What do you like the best, regarding readability? var thing: Thing = .init(args); // this? var thing = Thing.init(args); // or this? This one seems to much to me: var thing: Thing = Thing.init(args); // too much. Ho…

[Next page](https://ziggit.dev/latest.md?page=1)
