Zig C

Open-source Zig projects categorized as C

Top 6 Zig C Projects

  1. libxev

    libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.

    Project mention: A Programmer-Friendly I/O Abstraction Over io_uring and kqueue | news.ycombinator.com | 2025-11-27

    Also worth checking out libxev[1] by Mitchell Hashimoto. It’s a Zig based event loop (similar to libuv) inspired by Tigerbeetle’s implementation.

    [1] https://github.com/mitchellh/libxev

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. arocc

    A modern fully featured C compiler.

    Project mention: Writing a C Compiler, in Zig | news.ycombinator.com | 2026-04-23

    Zig actually bundles LLVM's Clang, which it uses to compile C with the `zig cc` command. But the long term goal seems to not be so tightly coupled to LLVM, so I'm expecting that to move elsewhere. They still do some clever stuff around compiler-rt, allowing it to be better at cross-compilation than raw Clang, but the bulk of it is mostly just Clang.

    There is also another C compiler written in Zig, Aro[1], which seems to be much more complete than TFA. Zig started using that as a library for its TranslateC functionality (for translating C headers into Zig, not whole programs) in 0.16.

    [1]: https://github.com/Vexu/arocc

  4. sandopolis

    A portable multi-system Sega emulator for Genesis, Master System, Game Gear, and SG-1000 🎮

    Project mention: Show HN: Sandopolis – A Sega Genesis/Mega Drive Emulator Written in Zig and C | news.ycombinator.com | 2026-03-18

    Hi,

    I've made an early version of a Sega Genesis/Mega Drive emulator written in Zig and C. At the moment, it's far from finished (for example, sound fidelity isn't very good right now), but it boots some games with good compatibility. In any case, if you're interested, the project is available on GitHub (here: https://github.com/pixel-clover/sandopolis).

    Feedback is welcome.

    Disclaimer: I'm very new to emulation, and this is my first attempt to build a retro gaming emulator.

  5. chatbot

    A small chatbot experiment built with C and Zig. (by vinitkumar)

  6. zig-budoux

    Budoux for Zig and C

  7. vizier

    A physical design advisor for DuckDB (by CogitatorTech)

    Project mention: Show HN: Vizier – A physical design advisor for DuckDB | news.ycombinator.com | 2026-03-26

    Hi,

    I've made an early version of a physical design advisor (called Vizier) for DuckDB. It can analyze a collection of queries (using a set of heuristics) and recommend changes to the physical design/layout of the database (for example, sort orders, Parquet layouts, indexes, etc.), in order to make those queries run faster.

    Vizier is implemented as a DuckDB extension in Zig and supports DuckDB version 1.2.0 and newer. The project is very early-stage, but if you're interested in learning more about Vizier or trying it out, you can check out the links below:

    Project's GitHub repo: https://github.com/CogitatorTech/vizier

    Vizier documentation: https://cogitatortech.github.io/vizier/

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Zig C discussion

Log in or Post with

Zig C related posts

Index

What are some of the best open-source C projects in Zig? This list will help you:

# Project Stars
1 libxev 3,519
2 arocc 1,720
3 sandopolis 24
4 chatbot 20
5 zig-budoux 9
6 vizier 7

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Zig is
the 17th most popular programming language
based on number of references?