Zig folks, what do you attribute the language's growth to? Zig is neither fully memory safe nor the first attempt at a C replacement, yet it's growing.
What can unpopular language learn from your community? #ziglang #programming
Zig folks, what do you attribute the language's growth to? Zig is neither fully memory safe nor the first attempt at a C replacement, yet it's growing.
What can unpopular language learn from your community? #ziglang #programming
C++ Encounters of the Rusty Zig Kind - There comes a time in any software developer’s life when they look at their achiev... - https://hackaday.com/2025/07/01/c-encounters-of-the-rusty-zig-kind/ #programminglanguages #softwaredevelopment #hackadaycolumns #rustlang #ziglang
Various thi.ng updates, bug fixes, additions and new version of https://github.com/thi-ng/zig-thing/ — now fully compatible with current Zig v0.14.1
On a more diary/devlog note: I also updated several of my Zig based work-in-progress art pieces to the latest version (some of them not touched in 2+ years) and it's so good to see how the https://thi.ng/wasm-api toolchain has been holding up with various breaking Zig changes and also how this setup simplifies creating hybrid Zig/TypeScript projects (e.g. for using DOM/WebGL from Zig). Related, I also want to mention once more the #GenArtAPI Zig WebAssembly bindings[1] (updated a few weeks ago), which add another layer of flexibility & boilerplate reduction for generative/procedural/algorithmic art projects...
I will be attempting yet another few takes creating a video overview & mini-workshop/tutorial about https://thi.ng/genart-api, hopefully also touching on these aspects...
[1] https://github.com/thi-ng/genart-api/tree/main/packages/wasm
PSA for people using #Ziglang via the #ASDF version manager: The "official" Zig plugin seems to be unmaintained and doesn't support the new URL format of recent Zig releases, but there's a new fork of the plugin which does. You can switch to it via:
```
asdf plugin remove zig
asdf plugin add zig https://github.com/thaolt/asdf-zig
asdf install zig 0.14.1
```
Zig's self-hosted x86 backend is now default in Debug mode
https://ziglang.org/devlog/2025/?unique%2F=#2025-06-08
Discussions: https://discu.eu/q/https://ziglang.org/devlog/2025/?unique%252F=%232025-06-08
Cross compiling Zig on an old Kindle
https://samkhawase.com/blog/zig-kindle-gdb/
Discussions: https://discu.eu/q/https://samkhawase.com/blog/zig-kindle-gdb/
Minimal HTTP Server Implementation from Scratch
https://github.com/JayanAXHF/zig_http_server.git
Discussions: https://discu.eu/q/https://github.com/JayanAXHF/zig_http_server.git
Spent the weekend building Space Invaders in Zig
https://github.com/MashyBasker/spice
Discussions: https://discu.eu/q/https://github.com/MashyBasker/spice
Zigmode : automatic restarter
https://github.com/yousef1110ya/zigmod
Discussions: https://discu.eu/q/https://github.com/yousef1110ya/zigmod
creating a struct with init/deinit
Discussions: https://discu.eu/q/http://entry.name
Zig is better than Rust (sometimes)
https://www.youtube.com/watch?v=l9eFGToyjf8
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=l9eFGToyjf8
#ReleaseMonday — New version (v0.27.0) of https://thi.ng/genart-api, a platform-independent extensible API for browser-based computational/algorithmic/generative art projects:
This version features an overhaul of the platform provided PRNG (pseudo-random number generator) handling and makes it easier to create multiple PRNGs for artworks which require/desire them...
Related section in the README:
https://github.com/thi-ng/genart-api/blob/main/README.md#determinism--prng-provision
Also, just as a reminder, the project has:
- no external dependencies
- adapters for 3 art platforms (EditArt, fxhash, Layer)
- 6 example projects
- testing/dev sandbox with two parameter editors
- WebAssembly bindings & demo (currently for #Zig only)
Happy coding! :)
StackOverflow 2025 Survey
https://zig.news/kristoff/make-zig-your-c-c-build-system-28g5
Discussions: https://discu.eu/q/https://zig.news/kristoff/make-zig-your-c-c-build-system-28g5
Zig Showtime Video on Build System Basics (Zig 0.14)
https://www.youtube.com/watch?v=jy7w_7JZYyw
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=jy7w_7JZYyw
Conway's Game of Life written in Zig using raylib. (added rulesets, features, and more to come!)
https://github.com/2hands10fingers/game-of-strife
Discussions: https://discu.eu/q/https://github.com/2hands10fingers/game-of-strife