Awesome Zig
This repository lists “awesome” projects written in Zig, maintained by ZigCC community.
[!IMPORTANT]
The word “awesome” does not signify stability; instead, it might suggest something is somewhat old-fashioned or lacking novelty. Hence, exercise caution.
Contributing
If you find a well-maintained library that is not yet included here, welcome to submit it via a pull request. Just be sure to execute make all
before open PR.
Contents
TOC is generated by markdown-toc.
Learning Resources
- Zig Language Reference : Zig Language Reference.
- Zig In-depth Overview : Zig In-depth Overview.
- Zig Guide : Get started with the Zig programming language.
- Zig cookbook : A collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks.
- Zig in 30 minutes : A half-hour to learn Zig.
- Ziglings : Learn the Zig programming language by fixing tiny broken programs.
- Awesome zig wiki: Other interesting materials about Zig.
- Learning Zig : This guide aims to make you comfortable with Zig. It assumes prior programming experience, though not in any particular language.
- Zig 圣经 : 简单、快速地学习 Zig.
Text Editors
Linter
Documentation and Testing
Package and Version Manager
Utility
Linker
- kubkon/bold : bold is a drop-in replacement for Apple’s system linker
ld
Data Structure and Algorithm
String Processing
Logging Processing
Audio Processing
Image and Video Processing
Date, Time and Timezones
Command Line and Argument Parser
Memory Allocator and Management
Asynchronous Runtime
- mitchellh/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.
- kprotty/zap : An asynchronous runtime with a focus on performance and resource efficiency.
- lithdew/pike : Async I/O for Zig.
Multithreading
- g41797/mailbox : mailbox is convenient inter-thread communication mechanizm.
Embedded Development
General Operating System
Robot Operating System
Compilers and Interpreters
- Aro : Aro. A C compiler with the goal of providing fast compilation and low memory usage with good diagnostics.
- buzz: A small/lightweight statically typed scripting language.
- fubark/cyber : Fast and concurrent scripting.
- squeek502/zua : An implementation of Lua 5.1 in Zig, for learning purposes.
- Vexu/bog : Small, strongly typed, embeddable language.
- fury : Fury, a gradual, safe systems language.
FFI Bindings
Zigged Project
- libz: zlib with the build system replaced by zig
- libmp3lame: libmp3lame with the build system replaced by zig
- libvorbis: libvorbis with the build system replaced by zig
- libogg: libogg with the build system replaced by zig
- nasm: nasm with the build system replaced by zig
- ffmpeg: ffmpeg with the build system replaced by zig
- libebur128: libebur128 with the build system replaced by zig
- pulseaudio: pulseaudio with the build system replaced by zig
- libchromaprint: chromaprint with the build system replaced by zig
- raylib: A simple and easy-to-use library to enjoy videogames programming
- openssl: TLS/SSL and crypto library (uses Zig Build)
- wolfssl: WolfSSL library - Using Zig Build
- fmt: A modern formatting library (uses zig build-system)
- boost unordered: Boost.org unordered module (uses zig build)
- boost async: Coroutines for C++20 & asio (uses zig build for testing)
- json: JSON for Modern C++ (uses zig build-system)
- context:
boost.context
library using zig build
- fiber: userland threads uses zig build
- outcome: Provides very lightweight outcome<T> and result<T> (non-Boost edition) (uses zig build-system)
- Standalone: Asio standalone C++ HTTP/S Server (uses zig build-system)
- asio: Asio C++ Library (uses zig build-system)
- observable: : Unique-ownership smart pointers with observable lifetime.
- Catch2: A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch) - uses zig build-system
- cppfront: Build Cppfront w/ zig build
- hana: Your standard library for metaprogramming
- intrusive: Boost.org intrusive module
- range: Range library for C++14/17/20, basis for C++20’s std::ranges
- zig-libxml2: libxml2 built using Zig build system
- benchmark: A microbenchmark support library
First post at here.
- libffi: libffi with a Zig build script.
GPU Computing
Scientific Computation
Machine Learning
-
Machine Learning Framework
-
Large Language Model
Database
Sensor and Communication Interface
Finite State Machine
Game Field
Emulators
Encryption
Network
Web Framework
Web3 Framework
WebAssembly
Graphics Library
GUI
Misc