zig

Tag

Cards List
#zig

Pledging Another $400k to the Zig Software Foundation

Hacker News Top · 2d ago Cached

The author pledges another $400,000 to the Zig Software Foundation, highlighting respect for the project's technical excellence and community culture despite differing views on AI policies.

0 favorites 0 likes
#zig

Build your project Zig-style

Lobsters Hottest · 2026-06-16 Cached

The author details building a tool called bygge-zig that uses the Zig build system to compile Rust projects, replicating Cargo's functionality in far fewer lines of code, highlighting the differences and challenges.

0 favorites 0 likes
#zig

wio: windowed i/o

Lobsters Hottest · 2026-06-15 Cached

wio is a Zig platform abstraction library that handles window management, events, clipboard, audio, and graphics context creation (OpenGL, Vulkan) across Windows, macOS, Linux, Android, and WebAssembly.

0 favorites 0 likes
#zig

Why I Wrote a Game Boy Advance Game in Zig (2024)

Lobsters Hottest · 2026-06-12 Cached

A developer explains why they chose the Zig programming language to create a Game Boy Advance game, highlighting Zig's cross-compilation capabilities and suitability for embedded programming.

0 favorites 0 likes
#zig

Show HN: Boo – screen-style terminal multiplexer built on libghostty

Hacker News Top · 2026-06-11 Cached

Boo is a GNU screen-style terminal multiplexer built on libghostty, written in Zig. It provides faithful screen redraws and automation primitives for scripts and AI agents.

0 favorites 0 likes
#zig

Zig by Example

Hacker News Top · 2026-06-08 Cached

A hands-on introduction to the Zig programming language via annotated examples, covering basic to advanced topics. Inspired by Go by Example.

0 favorites 0 likes
#zig

zalloc: Use zig allocators in your c code

Lobsters Hottest · 2026-06-08 Cached

zalloc replaces malloc, calloc, realloc, and free in C modules with Zig allocators, enabling Zig-style memory management in C code.

0 favorites 0 likes
#zig

Zig Structs of Arrays (2024)

Hacker News Top · 2026-06-04 Cached

Explains how Zig's comptime and type reflection enable creating struct-of-arrays (SoA) data structures like MultiArrayList, which improve cache performance in high-performance applications.

0 favorites 0 likes
#zig

Gooey: A GPU-accelerated UI framework for Zig

Hacker News Top · 2026-06-03 Cached

Gooey is a GPU-accelerated UI framework for Zig, targeting macOS, Linux, and browser via Metal, Vulkan/Wayland, and WebGPU/WASM. It offers declarative UI, animations, theming, accessibility, and zero external dependencies.

0 favorites 0 likes
#zig

Bun Has Been Converted to Rust. Now What?

Hacker News Top · 2026-06-03 Cached

Anthropic acquired Bun and used Claude Code agents to rewrite the entire runtime from Zig to Rust in nine days. The rewrite passed 99.8% of tests but introduced over 10,000 unsafe blocks, raising questions about the benefits of memory safety.

0 favorites 0 likes
#zig

Flipper Zero Zig Template

Hacker News Top · 2026-06-01 Cached

A modern, production-ready template for developing Flipper Zero applications using the Zig programming language, providing a streamlined build system that integrates Zig with the Flipper Zero SDK.

0 favorites 0 likes
#zig

You Must Fix Your Asserts

Lobsters Hottest · 2026-05-31 Cached

The article argues that disabling asserts in production is a bad practice, using Zig's assert mechanism as an example to illustrate the benefits of keeping asserts enabled for catching programming errors even in production builds.

0 favorites 0 likes
#zig

Zig president says AI coding contributions are 'invariably garbage,' so he banned them

Reddit r/artificial · 2026-05-31 Cached

Zig president Andrew Kelley banned AI-assisted code contributions, calling them 'invariably garbage' and a waste of reviewer time. The policy prohibits any LLM-generated, paraphrased, or AI-edited code in the open-source project.

0 favorites 0 likes
#zig

Zig ELF Linker Improvements Devlog

Hacker News Top · 2026-05-30 Cached

The new Zig ELF linker now supports fast incremental compilation with external libraries and C sources, enabling rebuilds in milliseconds on x86_64 Linux.

0 favorites 0 likes
#zig

Wterm – Terminal Emulator for the Web

Hacker News Top · 2026-05-29 Cached

Wterm is a terminal emulator for the web, built in Zig and compiled to WASM for near-native performance, with native text selection, copy/paste, find, and accessibility.

0 favorites 0 likes
#zig

Build System Reworked

Lobsters Hottest · 2026-05-27 Cached

The Zig build system has been reworked to separate the configurer and maker processes, enabling caching, release-mode compilation, and up to 90% faster 'zig build' commands. This change improves performance and allows the build system to grow features without slowing down.

0 favorites 0 likes
#zig

Buildcraft Is a Compiler Problem

Hacker News Top · 2026-05-22 Cached

This article presents treating ARPG buildcraft as a compiler pipeline, where authored content is compiled into runtime data to avoid special-case code for skill-support interactions, using Zig-based examples.

0 favorites 0 likes
#zig

ztok — a fast multithreaded tokenizer in Zig that loads tiktoken / HF / SentencePiece and is 2–5× faster

Reddit r/LocalLLaMA · 2026-05-22

ztok 是一个用 Zig 编写的高性能多线程分词器库,支持多种格式(tiktoken、HF、SentencePiece 等),速度比现有方案快 2–5 倍,适用于 RAG 分块和数据集分词。

0 favorites 0 likes
#zig

Golfing Zig ELF Binaries (2025)

Lobsters Hottest · 2026-05-20 Cached

A technical deep-dive into reducing the size of Zig ELF binaries, starting from 2180K to under 500 bytes by stripping debug info, switching to ReleaseSmall, and using a freestanding target.

0 favorites 0 likes
#zig

Even More Tagged Union Subsets with Comptime

Lobsters Hottest · 2026-05-19 Cached

This article explores using Zig's comptime to create tagged union subsets, inspired by Mitchell Hashimoto's work, and applies the technique to a MyST parser's AST traversal.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback