SaaSHub helps you find the best software and product alternatives Learn more →
Zig C Projects
-
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.
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.
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 C related posts
- libxev: A cross-platform, high-performance event loop
- Show HN: Async tasks in 350 lines of C
- Changing the variables from alphabetical letters to verbose names would ruin the efficiency gains by requiring more variable declarations to maintain readable contexts.
- Zig Build System
- Porting interpreter to windows
- picosdk.zig ; use the Raspberry Pi Pico SDK in Zig with autogenerated CMakeLists using custom build steps.
- Embedded C Coding Standard
-
A note from our sponsor - SaaSHub
www.saashub.com | 27 Apr 2024
Index
Sponsored