Best of ZigNovember 2025

  1. 1
    Article
    Avatar of hnHacker News·26w

    Zigbook – Learn the Zig Programming Language

    Zigbook is an open-source, comprehensive guide to learning Zig programming language. It features 61 chapters with project-based learning and real-world examples, emphasizing not just syntax but a fundamental shift in thinking about software development.

  2. 2
    Video
    Avatar of youtubeYouTube·26w

    Why Zig over Rust, C, C++, Odin, Nim, etc?

    A developer explains their decision to focus on Zig over alternatives like Rust, C++, C, Nim, and others. Key reasons include Zig's explicitness with no hidden behavior, compile-time metaprogramming that's simpler than macros or templates, seamless C interop, unified tooling (compiler, formatter, package manager), and manual but structured memory management. While acknowledging Rust's safety guarantees and C++'s maturity, they prefer Zig's straightforward approach, errors-as-values pattern, and opt-in safety features across different build modes. The choice is presented as personal preference based on individual values rather than objective superiority.

  3. 3
    Article
    Avatar of matkladmatklad·24w

    Size Matters

    Explores principles for determining optimal code organization size, arguing that the ratio of module size to interface matters more than absolute size. Introduces the concept of minimizing the "cut" by keeping related code together while separating independent concerns, and discusses how physical constraints like screen dimensions can guide better design decisions. Uses examples from TigerBeetle's codebase to illustrate when files should be split or kept together based on cohesion rather than arbitrary line limits.