Zig Compiler

Open-source Zig projects categorized as Compiler

Top 9 Zig Compiler Projects

  1. zig

    Moved to Codeberg

    Project mention: multi_array_list.zig | news.ycombinator.com | 2026-06-04
  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

    Project mention: Why the push for Agentic when models can barely follow a simple instruction? | news.ycombinator.com | 2025-10-14

    > I know I could be eating my words, but there is basically no evidence to suggest it ever becomes as exceptional as the kingmakers are hoping.

    ??? It has already become exceptional. In 2.5 years (since chatgpt launched) we went from "oh, look how cute this is, it writes poems and the code almost looks like python" to "hey, this thing basically wrote a full programming language[1] with genz keywords, and it mostly works, still has some bugs".

    I think the goalpost moving is at play here, and we quickly forget how 1 year makes a huge difference (last year you needed tons of glue and handwritten harnesses to do anything - see aider) and today you can give them a spec and get a mostly working (albeit with some bugs) 50$ later.

    [1] - https://github.com/ghuntley/cursed

  5. toy-lang

    Toy language for experimentation and fun.

  6. LoLa

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

  7. 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
  8. ClojureWasm

    An independent Clojure runtime implemented in Zig, optimized for high-performance native execution and deep WebAssembly runtime integration.

    Project mention: Clojure, Reimplemented in Zig | news.ycombinator.com | 2026-02-23
  9. flint

    A pipeline-oriented system language for robust CLI tools. Transpiles to C99. Built in Zig. (by the-flint-lang)

    Project mention: Show HN: Flint – A compiled, pipeline-oriented language for CLI tooling | news.ycombinator.com | 2026-03-15
  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
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,016
2 arocc 1,716
3 cursed 638
4 toy-lang 596
5 LoLa 235
6 Zag-Smalltalk 156
7 ClojureWasm 104
8 flint 32
9 circ-compiler 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 17th most popular programming language
based on number of references?