Best of ZigJune 2025

  1. 1
    Article
    Avatar of zedZed·47w

    Agentic Engineering in Action — Zed's Blog

    Mitchell Hashimoto demonstrates his approach to AI-assisted development while building Ghostty terminal emulator. He treats AI tools like junior engineers, providing clear architectural guidance and well-scoped problems rather than open-ended tasks. His workflow involves maintaining architectural control, working in parallel with AI agents for tasks like refactoring and cleanup, and using multiple AI models competitively. While AI excels at refactoring and simple bug fixes, it struggles with architectural decisions, high-performance data structures, and languages like Zig.

  2. 2
    Video
    Avatar of youtubeYouTube·48w

    Zig is better than Rust (sometimes)

    A detailed comparison highlighting specific areas where Zig excels over Rust, including optional handling with the `orelse` keyword, undefined behavior management, simpler module systems, streamlined variable declarations, safer pointer handling with alignment tracking, powerful `comptime` features for compile-time code generation, seamless C interoperability, and better allocator systems. The author emphasizes that both languages are powerful but Zig offers more ergonomic solutions in certain scenarios.

  3. 3
    Article
    Avatar of hnHacker News·48w

    rajivharlalka/filedb: Disk Based Key-Value Store Inspired by Bitcask

    FileDB is a Zig implementation of the Bitcask key-value store architecture, featuring log-structured storage with in-memory metadata hashtables for O(1) lookups. It uses append-only disk files with periodic compaction and includes a Redis-compatible interface. Benchmark results show throughput of ~14K requests/second for writes and up to 104K requests/second for reads with multi-threading.