Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Zig Zig Projects
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
zls
A Zig language server supporting Zig developers with features like autocomplete and goto definition
-
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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
zig-cookbook
Simple Zig programs that demonstrate good practices to accomplish common programming tasks.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
At Node Conference 2023, Jarred Sumner (creator of Bun) showed a demo of server components in Bun, so there is at least partial support in that ecosystem. The Bun repo provides bun-plugin-server-components as the official plugin for server components. And while I haven’t looked at it in-depth, Marz claims to be a “React Server Components Framework for Bun”.
There is an issue proposing this approach: https://github.com/ziglang/zig/issues/4284
Master syntax - language possibilities, so that you can read code. Ziglings (or github) does great job teaching it!
More info on the wiki https://github.com/riverwm/river/wiki
Project mention: Zig Software Foundation 2024 Financial Report and Fundraiser | news.ycombinator.com | 2024-01-18Myself and many others are betting on Zig in major ways, I truly think it has a bright future ahead.
In spare time, myself and a few others are working on a game engine in Zig[0], and the Zig core team has been very receptive to addressing issues our project faces and supporting us.
Others are working on pixel art editors[1], open source 2D RPG games[2], there's a group of independent folks working on a 3D massive immersive sim game[3], a group working on making Zig an amazing language for micro-controllers[4], etc.
Please consider donating $5-10 a month to the ZSF! They are a great group of people, and it has so many knock-on effects for others in the FOSS community. :)
[0] https://machengine.org/
[1] https://github.com/foxnne/pixi
[2] https://github.com/foxnne/aftersun
[3] https://github.com/Srekel/tides-of-revival
[4] https://github.com/ZigEmbeddedGroup
Project mention: Have questions/requests/issues related to the Zig Language Server? | /r/Zig | 2023-05-06There is no official documentation but the standard library provides definitions for the exchange format and an incomplete set of function for exchanging messages in Client.zig and Server.zig. You can find examples of the zig compile server in action in my PR for ZLS and a showcase of hot-code-swapping by kubkon. The code that implements the ZCS in the zig codebase can be found here.
Project mention: libxev: A cross-platform, high-performance event loop | news.ycombinator.com | 2024-04-17io_uring support is obviously great & excellent, fulfills the "high performance" part well.
i was not expecting "Wasm + WASI" support at all. that's very cool. implementation is wasi_poll.zig (https://github.com/mitchellh/libxev/blob/main/src/backend/wa...). not to be unkind, but this makes me wonder very much if WASI is already missing the mark, if polling is the solution offered.
gotta say, this is some very understandable clean code. further enhancing my sense that i really ought be playing with zig.
Project mention: Buzz: A lightweight statically typed scripting language | news.ycombinator.com | 2023-12-26FYI, for the interested, https://github.com/buzz-language/buzz/issues/209
> You have to use the nightly build of zig.
ie. `brew install zig && zig build` will not work.
Project mention: MicroZig: Unified abstraction layer and HAL for Zig on several microcontrollers | news.ycombinator.com | 2024-02-28
Possible reference as it requires to use the compiler as part of language abi: https://github.com/Vexu/arocc/issues/178 Not sure, where a better thread with explanations of the flaws is.
Zig and Rust both promote explicit error handling, however their mechanisms are different. Rust uses Result enums, while Zig uses a (global) error set type (though similar to an enum) and error propagation. Similarly, Rust uses the Option enum for optional types, while Zig uses a type modifier (?T). Both offer modern, syntactic sugar to handle those (call()? and if let Some(value) = optional {} in Rust, try call() and if (optional) |value| {} in Zig). Since Rust uses the standard library to implement error handling and options, users have the possibility to extend those systems which is quite powerful. However, I like the approach Zig takes in providing those things as language features. While their approach fits well into the C universe, I dislike that there is no pragmatic way to add more context to an error (but well, no allocations). Libraries like [clap](https://github.com/Hejsil/zig-clap) solve this by implementing a diagnostics mechanism.
Project mention: Zig Software Foundation 2024 Financial Report and Fundraiser | news.ycombinator.com | 2024-01-18Myself and many others are betting on Zig in major ways, I truly think it has a bright future ahead.
In spare time, myself and a few others are working on a game engine in Zig[0], and the Zig core team has been very receptive to addressing issues our project faces and supporting us.
Others are working on pixel art editors[1], open source 2D RPG games[2], there's a group of independent folks working on a 3D massive immersive sim game[3], a group working on making Zig an amazing language for micro-controllers[4], etc.
Please consider donating $5-10 a month to the ZSF! They are a great group of people, and it has so many knock-on effects for others in the FOSS community. :)
[0] https://machengine.org/
[1] https://github.com/foxnne/pixi
[2] https://github.com/foxnne/aftersun
[3] https://github.com/Srekel/tides-of-revival
[4] https://github.com/ZigEmbeddedGroup
Project mention: Zig cookbook: collection of simple Zig programs that demonstrate good practices | news.ycombinator.com | 2024-01-01
Zig all the way. It's support for lots of architectures out of the box without needing to cross compile is so good for porting your kernel. Allocators and not having to write a whole new std library for your OS is also a major plus. There are lots more ebenfots that would take too long to list here. For an example Zig kernel, check out mine at https://github.com/ZystemOS/pluto (OS name is WIP).
So, LinuxWave
You can absolutely make CLI tools, but be prepared for breaking changes in the language with every release. I've been working on a fuzzy finder zf for a couple of years now, and with each Zig release there are a few things to fix. It's not a ton of work, but it is something to be aware of.
Project mention: A unikernel designed specifically for running WASM apps and compatible with WASI | news.ycombinator.com | 2023-12-29
Zig Zig related posts
- Memory-mapped IO registers in Zig. (2021)
- Zig Programming Language
- Zig Language 0.12 Release
- Zig 0.12.0 Release Notes
- How to Write a PHP Extension with Zig?
- Zig, Rust, and Other Languages
- MicroZig: Unified abstraction layer and HAL for Zig on several microcontrollers
-
A note from our sponsor - InfluxDB
www.influxdata.com | 25 Apr 2024
Index
What are some of the best open-source Zig projects in Zig? This list will help you:
Project | Stars | |
---|---|---|
1 | bun | 70,488 |
2 | zig | 30,631 |
3 | ziglings | 4,098 |
4 | river | 2,930 |
5 | mach | 2,773 |
6 | zls | 2,359 |
7 | libxev | 1,431 |
8 | capy | 1,328 |
9 | buzz | 1,075 |
10 | microzig | 928 |
11 | arocc | 760 |
12 | zig-clap | 744 |
13 | zigmod | 707 |
14 | pixi | 530 |
15 | zigup | 527 |
16 | bog | 515 |
17 | zig-cookbook | 515 |
18 | pluto | 482 |
19 | linuxwave | 481 |
20 | zf | 417 |
21 | mewz | 417 |
22 | kernel-zig | 412 |
23 | zigimg | 392 |
Sponsored