zig-common-tasks
zig-network
zig-common-tasks | zig-network | |
---|---|---|
2 | 3 | |
11 | 390 | |
- | - | |
6.1 | 6.3 | |
5 months ago | about 1 month ago | |
Zig | Zig | |
The Unlicense | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zig-common-tasks
-
0.10.0 has been released
Here's the commit with changes I had to make so the code compiles again.
-
Zig Common Tasks - a collection of Zig code snippets for some of the most common tasks
Hello all. I have created this website because I was frustrated trying to figure out how to do simple things while learning Zig. I've noticed a lot of people have the same complaint, so I decided to do something about it. These are just a few samples for things that I've wanted to do but couldn't easily figure out how to do. Hopefully, the list will grow as I write new code in Zig and find more interesting examples. I tried to make it as easy as possible for others to contribute new samples, so if anyone has any ideas, pls send a PR on GitHub or OpenCode (but pls do read the guidelines)!
zig-network
-
Zig Common Tasks - a collection of Zig code snippets for some of the most common tasks
There is an external package which you can use instead here that is cross compatible between systems: https://github.com/MasterQ32/zig-network
-
Socket/UDP implementation? => CoAP
As `std.net` is this experimental, there is currently no support for UDP at all in the standard library. However there is a library named zig-network which supports UDP sockets. There's also an example of UDP Discovery Protocol implemented with in examples/discovery which uses them so you can quickly start with an UDP client and server.
-
What is a good resource guide to learning network programming in zig. I am reading Network Programming in C from Packt. I can do a @cImport but I want it to be purely in Zig. I for example in the text they use netdb, is there an equivalent in Zig?
Try use: https://github.com/MasterQ32/zig-network
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
ctsTraffic - ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics
zgl - Zig OpenGL Wrapper
SimpleUnityTCP - 🖧 Simple Unity Project to show how TCP communication are builded in C# without multi-threading or Unity network (Unet) involved.
netpunch
async_io_uring - An event loop in Zig using io_uring and coroutines
zoap - A WiP CoAP implementation for bare-metal constrained devices in Zig
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library
zig-oauth2 - HTTP handler functions to allow you to easily add OAuth2 login support to your Zig application