SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Zig Open-Source Projects
-
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.
-
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.
-
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 -
The CLI is published as a release using GoReleaser to build the release.
-
Project mention: Show HN: Lightpanda, an open-source headless browser in Zig | news.ycombinator.com | 2025-01-24
-
extism
The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
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/
-
-
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?
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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
-
-
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.
-
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.
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
-
-
-
-
-
-
Project mention: Buzz 0.5.0 release – a statically typed scripting language written in Zig | news.ycombinator.com | 2025-01-24
-
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
-
-
-
raylib-zig
Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Zig discussion
Zig related posts
-
Crabtime: Zig's Comptime in Rust
-
Succinct Data Structures
-
Zig: A good memory allocator in 200 lines of code
-
A good memory allocator in 200 lines of code
-
Zig-0.14.0 Landed
-
Hallucinations in code are the least dangerous form of LLM mistakes
-
Criando e executando um projeto Laravel 12 com (quase) zero dependências usando Docker
-
A note from our sponsor - SaaSHub
www.saashub.com | 25 Mar 2025
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 |