Reading up on Zig
9 deep · digging since dec 05, 25
- Fast and Hard Code
LLMs diminish the need to learn language specifics, letting developers choose languages like Rust and Zig for speed and size, and tackle complex low‑level projects without deep expertise.
- Bun 1.4 Rust rewrite is not looking good
The author argues that Bun’s Rust rewrite, driven heavily by AI, has caused delays, rising open PRs, and community frustration over broken promises and code quality.
- Fibs and Fibbonacci - is LOGOS faster than Zig?
LOGOS is not the fastest language; its speed claims rely on toy benchmarks, non‑idiomatic comparisons, and a benchmark bug that makes it slower than Zig after correction.
- Interview with Mitchell Hashimoto about Ghostty and Zig
Mitchell Hashimoto discusses building Ghostty, a fast GPU‑accelerated terminal, using Zig for performance and safety, and shares lessons on language choice and open‑source development.
- bun/docs/PORTING.md at claude/phase-a-port · oven-sh/bun
This document defines the rules and idiom map for porting the Bun JavaScript runtime from Zig to Rust in a two-phase process: Phase A produces a draft Rust file, and Phase B makes it compile.
- Show HN: I built a fast RSS reader in Zig
Hys is a fast terminal RSS reader in Zig that enforces once-daily fetching to combat doomscrolling, designed like a digital morning newspaper.
- Thoughts on Go vs. Rust vs. Zig
Hacker News用户就Go、Rust和Zig的设计取舍展开辩论,重点围绕RAII、内存管理和学习曲线等实际体验差异。
Takes
Introducing fx, a tiny, open, native coding agent from Vercel Labs. Originally an internal tool, fx is a harness and CLI written in Zig, optimized for research and embedding in larger systems. Today, we're open sourcing it. fx is built on three principles: 1. Fast. A single native binary, no runtime to install. It cold starts in 10µs and does no unnecessary work or I/O before accepting input. fx is the answer to "how fast can a coding agent be?" 2. Light. The 6.3MiB binary uses single-digit megabytes of memory at baseline, made for instant installation and embedding in resource-constrained environments and agent sandboxes. 3. Open. Apache-2.0, model and provider agnostic, suitable for local and cloud inference. Its small core extends through skills, plugins, and MCP. Minimalism is an obsession throughout the entire harness: system prompt, tools, features, binary. The goal was to keep context usage and time to first token low, and make fx optimal for model benchmarking, sandboxing, evals, and gyms. You can use fx directly or embed it as infrastructure. The CLI feels more like a Unix shell than an IDE in the terminal: it preserves scroll history, produces minimal output, and uses complex TUI rendering very, very sparingly. Programmatically, 𝚏𝚡 𝚊𝚜𝚔 --𝚓𝚜𝚘𝚗 gives structured output, 𝚏𝚡 𝚊𝚌𝚙 connects to editors and other clients, and WebAssembly can even run the whole thing inside the browser (see:
@vercel_dev
Introducing wterm (“dub-term”) A terminal emulator for the web → DOM rendering — not canvas → Select text, copy/paste, ⌘+F, a11y → Dirty-row tracking, 24-bit color, themes → WebSocket transport with reconnection → Zig core compiled to ~12 KB WASM → just-bash, local, SSH
@ctatedev