Zig Compiler

Open-source Zig projects categorized as Compiler

Top 10 Zig Compiler Projects

  1. zig

    Moved to Codeberg

    Project mention: What Zig felt like, coming from Rust | news.ycombinator.com | 2026-09-19

    Interesting, I hadn’t run across that but that’s probably just my problem domain. I did find this bug that looks like it was resolved a year ago https://github.com/ziglang/zig/issues/24184 and I have also read they are doing some other work on floating point that will hopefully address other cross-platform inconsistencies.

  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. cursed

    the 💀 cursed programming language: programming, but make it gen z

  5. toy-lang

    Toy language for experimentation and fun.

  6. LoLa

    LoLa is a small programming language meant to be embedded into games.

  7. ClojureWasm

    A JVM-free Clojure runtime in Zig — call WebAssembly from Clojure to use libraries written in any language.

    Project mention: ClojureWasm is a Clojure runtime written from scratch in Zig and Clojure, no JVM | news.ycombinator.com | 2026-06-18
  8. Zag-Smalltalk

    Smalltalk VM Written in Zig with methods stored as type-annotated ASTs

    Project mention: Minimal x86 Kernel Zig | news.ycombinator.com | 2026-02-17
  9. oksolc

    A Solidity compiler written in Zig. Reduces compilation time 10 to 50x and still targets byte-for-byte compatibility with solc

    Project mention: A Solidity compiler written in Zig | news.ycombinator.com | 2026-10-12
  10. circ-compiler

    A small language for building and simulating logic circuits - for people learning how computers work. In the spirit of Nand2Tetris and Petzold's Code.

    Project mention: Circ, a DSL for digital circuits with self-rendering ASCII schematics | news.ycombinator.com | 2026-05-13
  11. elba

    A static programming language made with Zig

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 Compiler discussion

Log in or Post with

Zig Compiler related posts

Index

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

# Project Stars
1 zig 43,263
2 arocc 1,866
3 cursed 658
4 toy-lang 603
5 LoLa 240
6 ClojureWasm 195
7 Zag-Smalltalk 160
8 oksolc 114
9 circ-compiler 3
10 elba 3

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 18th most popular programming language
based on number of references?