zig

Tag

Cards List
#zig

Show HN: A modern Music Player Daemon based on Rockbox firmware

Hacker News Top ↗ · 2026-05-09 Cached

A modern reimplementation of the Rockbox audio player firmware using Zig and Rust, offering multi-room audio support and various API integrations.

0 favorites 0 likes
#zig

Steering Zig Fmt

Lobsters Hottest ↗ · 2026-05-09 Cached

A blog post describing two tips for using `zig fmt` effectively, highlighting its 'steerable' formatting approach where trailing commas and line breaks control layout decisions, and showcasing columnar array formatting.

0 favorites 0 likes
#zig

@ctatedev: Introducing zero-native Build native desktop + mobile apps with web UI and Zig → Tiny binaries, low memory usage → Sele…

X AI KOLs Timeline ↗ · 2026-05-09 Cached

zero-native is a new tool for building native desktop and mobile apps using web UI and Zig programming language, featuring tiny binaries, low memory usage, and support for multiple web engines (WKWebView, WebKitGTK, WebView2, Chromium/CEF) and frameworks (Next.js, Vue, Svelte, Vite, React).

0 favorites 0 likes
#zig

Minimal Viable Zig Error Contexts

matklad ↗ · 2026-05-03 Cached

A blog post detailing a minimal pattern for adding error context in Zig using errdefer logging, comparing it to full diagnostics sinks and catch blocks, and discussing tradeoffs.

0 favorites 0 likes
#zig

Quoting Andrew Kelley

Simon Willison's Blog ↗ · 2026-04-30 Cached

Andrew Kelley, creator of Zig, argues that LLM-assisted contributions are detectable through distinct mistakes and a 'digital smell,' comparing it to smoking in a non-smoking house.

0 favorites 0 likes
#zig

Writing a C Compiler, in Zig

Hacker News Top ↗ · 2026-04-23 Cached

A developer documents their experience building a C compiler named paella in Zig, following Nora Sandler’s tutorial series.

0 favorites 0 likes
#zig

Borrow-checking without type-checking

Lobsters Hottest ↗ · 2026-04-23 Cached

A blog post presents a toy language that enforces borrow-checking at runtime without static typing, using cheap reference-counting on the stack to enable interior pointers and single ownership in a dynamically-typed setting.

0 favorites 0 likes
#zig

Kuri – Zig based agent-browser alternative

Hacker News Top ↗ · 2026-04-22 Cached

Kuri is a Zig-based browser-automation toolkit targeting AI agents, offering a 464 KB binary with ~3 ms cold start and 16% lower token usage per workflow cycle versus agent-browser.

0 favorites 0 likes
#zig

256 Lines or Less: Test Case Minimization

Lobsters Hottest ↗ · 2026-04-21 Cached

A technical blog post describing the author's minimal property-based testing library implemented in ~256 lines of Zig, featuring a Finite Random Number Generator for reproducible test case generation and algorithmic verification.

0 favorites 0 likes
#zig

@unwind_ai_: What the hell China Kimi K2.6 wrote a local inference runtime in Zig, on a Mac, autonomously. ended up 20% faster than …

X AI KOLs Timeline ↗ · 2026-04-21 Cached

Kimi K2.6 autonomously wrote a Zig-based local inference runtime on Mac that is 20% faster than LM Studio after 14 iterations and 4,000+ tool calls, all open-sourced.

0 favorites 0 likes
#zig

@linexjlin: K2.6 built a Zig LLM inference engine from scratch on Mac in 12h, pushing Qwen 3.5 0.8B from 15 tok/s to 193.1 tok/s

X AI KOLs Timeline ↗ · 2026-04-20 Cached

Developer wrote a Zig-based LLM inference engine from zero on macOS in 12 hours, boosting Qwen 3.5 0.8B throughput from 15 to 193 tokens per second.

0 favorites 0 likes
#zig

Diagnostics Factory

matklad ↗ · 2026-02-16 Cached

该文章介绍了在Zig中使用诊断工厂模式来管理错误报告,避免预先定义错误类型,而是提供一组构造函数来生成错误信息,并展示了在TigerBeetle项目中的实际应用。

0 favorites 0 likes
#zig

Don't Trip[wire] Yourself: Testing Error Recovery in Zig

Mitchell Hashimoto ↗ · 2026-01-21 Cached

Mitchell Hashimoto introduces Tripwire, a Zig library that injects failures to test error recovery paths, with zero runtime cost when disabled.

0 favorites 0 likes
#zig

Finding and Fixing Ghostty's Largest Memory Leak

Mitchell Hashimoto ↗ · 2026-01-10 Cached

A detailed technical post on diagnosing and fixing a major memory leak in the Ghostty terminal emulator, caused by a logic bug in scrollback pruning with non-standard page sizes. The fix has been merged and will be in the upcoming 1.3 release.

0 favorites 0 likes
#zig

Zig Builds Are Getting Faster

Mitchell Hashimoto ↗ · 2025-10-03 Cached

Zig 0.15 shows significant compile-time improvements over 0.14, with build script compilation dropping from ~7s to ~1.7s and full builds from 41s to 32s, even while still using LLVM. The article highlights progress toward self-hosted backends and incremental compilation.

0 favorites 0 likes
#zig

Libghostty Is Coming

Mitchell Hashimoto ↗ · 2025-09-22 Cached

Mitchell Hashimoto announces plans for libghostty, an embeddable library for terminal emulation, starting with libghostty-vt, a zero-dependency terminal sequence parser extracted from Ghostty.

0 favorites 0 likes
#zig

We Rewrote the Ghostty GTK Application

Mitchell Hashimoto ↗ · 2025-08-14 Cached

Mitchell Hashimoto details the rewrite of Ghostty's GTK application to fully embrace the GObject type system from Zig, improving stability, features, and memory safety, verified with Valgrind.

0 favorites 0 likes
#zig

Ghostty: Reflecting on Reaching 1.0

Mitchell Hashimoto ↗ · 2024-12-26 Cached

Mitchell Hashimoto reflects on reaching version 1.0 of Ghostty, a terminal emulator he built in Zig, discussing the project's origins, the successful but controversial private beta, and his vision for the terminal.

0 favorites 0 likes
#zig

Pledging $300,000 to the Zig Software Foundation

Mitchell Hashimoto ↗ · 2024-10-01 Cached

Mitchell Hashimoto and his wife pledge $300,000 to the Zig Software Foundation, citing their belief in Zig's transformative potential and their desire to support independent software projects.

0 favorites 0 likes
#zig

Tagged Union Subsets with Comptime in Zig

Mitchell Hashimoto ↗ · 2024-09-23 Cached

Mitchell Hashimoto demonstrates how to use Zig's comptime to create subset types of tagged unions, enabling compile-time safety without exhaustive case handling.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback