Zig

Open-source projects categorized as Zig

Top 23 Zig Open-Source Projects

  1. bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

    Project mention: How Bun can help to revive a Gridsome project | dev.to | 2025-03-11

    All in all, before eventually migrating to some boring modern technology, I decided to try using Bun with it instead of Node. I didn't come up with this idea completely out of nowhere; I had some interesting experience with Bun already, and the promise of zero-config development had proven to be a working approach for me. So I decided to test the hypothesis of letting Bun handle the obsolete Node project to see what it would yield.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

    Project mention: Zig: A good memory allocator in 200 lines of code | news.ycombinator.com | 2025-03-06
  4. goreleaser

    Release engineering, simplified

    Project mention: Automating an Open Source Project with GitHub Actions | dev.to | 2025-02-25

    The CLI is published as a release using GoReleaser to build the release.

  5. browser

    Lightpanda: the headless browser designed for AI and automation (by lightpanda-io)

    Project mention: Show HN: Lightpanda, an open-source headless browser in Zig | news.ycombinator.com | 2025-01-24
  6. extism

    The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.

    Project mention: WASM Will Replace Containers | news.ycombinator.com | 2025-02-11

    Application plugins could also be wasm. That lets plugin authors write in any language they want and have their plugin work. That's the idea behind the Extism framework:

    https://extism.org/

  7. ziglings

    Learn the Zig programming language by fixing tiny broken programs.

  8. mach

    zig game engine & graphics toolkit

    Project mention: Show HN: Lyceum – An MMO game built with Zig and Erlang | news.ycombinator.com | 2024-11-05

    Did you happen to tinker with https://machengine.org/ it's a Zig game engine & graphics toolkit?

  9. SaaSHub

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

    SaaSHub logo
  10. zls

    A Zig language server supporting Zig developers with features like autocomplete and goto definition

    Project mention: C Macro Reflection in Zig – Zig Has Better C Interop Than C Itself | news.ycombinator.com | 2024-07-30

    > […] I've had a lot of issues getting editor integration to work correctly. I've installed the VSCode extension but I don't seem to be getting autocomplete etc. […]

    If you use ZLS [0], make sure you’re always using the right version for the Zig version you have installed on your machine. In my experience, that fixes 90% of editor issues I’ve encountered using Zig (I don’t use Visual Studio Code though, so it’s possible your editor issues are related to the editor itself).

    [0]: https://github.com/zigtools/zls

  11. river

    [mirror] A dynamic tiling Wayland compositor (by riverwm)

  12. zap

    blazingly fast backends in zig (by zigzap)

    Project mention: Running sklearn models in Zig | dev.to | 2025-02-05

    In this blogpost we'll implement this strategy. We'll create an application that uses Python's C API to run the models with the Zap library handling the requests, which is a Zig blazing fast microframework for web applications. The full code to the post can be found in this repository and this post was originally posted on my blog.

  13. 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: Leveraging Zig's Allocators | news.ycombinator.com | 2024-06-15

    It scales to complex examples as well. Retained memory would be handled with its own allocator: for a large data structure like an LRU cache, one would initialize it with a pointer to the allocator, and use that internally to manage the memory.

    Blocking (or rather, non-blocking, which is clearly what you meant) IO is a different story. Zig had an async system, but it had problems and got removed a couple point releases ago. There's libxev[0] for evented programs, from Mitchell Hashimoto. It's not mature yet but it offers a good solution to single-threaded concurrency and non-blocking IO.

    I don't think Zig is the best choice for multithreaded programs, however, unless they're carefully engineered to share little to no memory (using message passing, for instance). You'd have to take care of locking and atomic ops manually, and unlike memory bugs, Zig doesn't have a lot of built-in support for catching problems with that.

    A language with manual memory allocation isn't going to be the language of choice for writing web servers, for pretty obvious reasons. But for an application like squeezing the best performance out of a resource-constrained environment, the tradeoffs start to make sense.

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

  14. zig-gamedev

    Dev repo for @zig-gamedev libs and sample applications

  15. capy

    💻Build one codebase and get native UI on Windows, Linux and Web

  16. cargo-zigbuild

    Compile Cargo project with zig as linker

  17. microzig

    Unified abstraction layer and HAL for several microcontrollers

  18. awesome-zig

    📜Zig Learning Guide & Project Lists (by C-BJ)

  19. buzz

    👨‍🚀 buzz, A small/lightweight statically typed scripting language (by buzz-language)

    Project mention: Buzz 0.5.0 release – a statically typed scripting language written in Zig | news.ycombinator.com | 2025-01-24
  20. arocc

    A modern fully featured C compiler.

    Project mention: 21 Algol 60 Compilers in 1962 | news.ycombinator.com | 2024-12-07

    Currently, zig cc is the Clang frontend which is linked into the Zig compiler (most things in that blog post are about differences between the Zig toolchain and a typical Clang toolchain, and how Zig invokes Clang.

    I'm not sure what the current plan is for C compilation after the LLVM divorce and when Clang is moved into a Zig package (e.g. I remember talk that arocc [1] is becoming the new Zig C frontend, but not sure if that's still planned, or if C compilation will be delegated to the new Clang package along with C++ and ObjC compilation).

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

  21. wasm4

    Build retro games using WebAssembly for a fantasy console.

  22. awesome-zig

  23. zig-book

    An open, technical and introductory book for the Zig programming language 📚📖

    Project mention: Introduction to Zig (a project-based book) | news.ycombinator.com | 2024-10-21
  24. raylib-zig

    Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib

  25. zigup

    Download and manage zig compilers.

    Project mention: Zig 0.13.0 Release Notes | news.ycombinator.com | 2024-06-07
  26. SaaSHub

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

    SaaSHub logo
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 discussion

Log in or Post with

Zig related posts

Index

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

# Project Stars
1 bun 77,019
2 zig 38,110
3 goreleaser 14,403
4 browser 7,545
5 extism 4,800
6 ziglings 4,411
7 mach 3,813
8 zls 3,615
9 river 3,484
10 zap 2,801
11 libxev 2,593
12 zig-gamedev 2,507
13 capy 2,026
14 cargo-zigbuild 1,821
15 microzig 1,529
16 awesome-zig 1,369
17 buzz 1,355
18 arocc 1,296
19 wasm4 1,296
20 awesome-zig 1,285
21 zig-book 1,262
22 raylib-zig 1,015
23 zigup 970

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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