Zig Common Tasks - a collection of Zig code snippets for some of the most common tasks

This page summarizes the projects mentioned and recommended in the original post on /r/Zig

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zig-common-tasks

    Zig common tasks (code samples)

  • 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

    A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP

  • There is an external package which you can use instead here that is cross compatible between systems: https://github.com/MasterQ32/zig-network

  • 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.

    InfluxDB logo
  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • There's already a discussion about this here: https://github.com/ziglang/zig/issues/2647

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • 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?

    3 projects | /r/Zig | 9 May 2022
  • MicroZig: Unified abstraction layer and HAL for Zig on several microcontrollers

    5 projects | news.ycombinator.com | 28 Feb 2024
  • After a day of programming in Zig

    3 projects | dev.to | 1 Jan 2024
  • someone please enlighten me... is there a simpler way to read int input from cmd-line in zig?

    3 projects | /r/Zig | 17 Mar 2023
  • A Zig Diary

    2 projects | news.ycombinator.com | 11 Jan 2023