In: computer, programming, language.
Zig
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
A simple language: Focus on debugging your application rather than debugging your programming language knowledge.
Comptime: A fresh approach to metaprogramming based on compile-time code execution and lazy evaluation.
Use Zig as a zero-dependency, drop-in C/C++ compiler that supports cross-compilation out-of-the-box.
Leverage zig build to create a consistent development environment across all platforms.
Add a Zig compilation unit to C/C++ projects; cross-language LTO is enabled by default.
https://survey.stackoverflow.co/2023/#technology-top-paying-technologies
Zig is the highest-paid language to know this year (a new addition), while Clojure gets knocked from the top spot with a 10% decrease from 2022!
Zig developers are paid the most per years of experience compared to other languages (11 years average) with the same or more experience. Raku and Cobol developers have much more experience (19 years average) but make at least 25% less.
Community
- https://github.com/ziglang/zig/wiki/Community
- https://ziggit.dev ⭐
- https://stackoverflow.com/questions/tagged/zig
- https://reddit.com/r/zig
- https://zig.news
- https://zig.show
Learning
https://ziglearn.org
https://ikrima.dev/dev-notes/zig/zig-crash-course
https://ikrima.dev/dev-notes/zig/zig-metaprogramming
Zig with examples
https://nofmal.github.io/zig-with-example
Zig pointers
https://openmymind.net/learning\_zig/pointers
Articles
SIMD with Zig
Posted May 02 2023
https://openmymind.net/SIMD-With-Zig
Implementing search char inside string using SIMD operations
Fast, multi-platform, SIMD math library in Zig
By Michal Ziulek, posted Jan 18 2022, updated May 6 2022
https://zig.news/michalz/fast-multi-platform-simd-math-library-in-zig-2adn
https://github.com/zig-gamedev/zig-gamedev/tree/main/libs/zmath
Zig’s HashMap - part 1 & 2
Posted Jan 22 2024
https://openmymind.net/Zigs-HashMap-Part-1
https://openmymind.net/Zigs-HashMap-Part-2
Reading a JSON config in Zig
Posted Mar 06 2023, updated October 30 2023
https://openmymind.net/Reading-A-Json-Config-In-Zig
Zig interfaces
Posted Oct 08 2023
https://openmymind.net/Zig-Interfaces
Meet Zig: The modern alternative to C
By Matthew Tyson, published Mar 9 2023
https://infoworld.com/article/3689648/meet-the-zig-programming-language.html
Zig is an up-and-coming systems-oriented language that could one day replace C
Zig’s curious multi-sequence for loops
By Loris Cro, posted february 27 2023
https://kristoff.it/blog/zig-multi-sequence-for-loops
Code study: interface idioms/patterns in zig standard libraries
By Yigong Liu, posted on Jan 8
https://zig.news/yglcode/code-study-interface-idiomspatterns-in-zig-standard-libraries-4lkj
Zig interfaces for the uninitiated, an update
By KilianVounckx, posted Feb 17 2022
https://zig.news/kilianvounckx/zig-interfaces-for-the-uninitiated-an-update-4gf1
The missing Zig polymorphism / runtime dispatch reference
Posted Feb 13, 2022
https://revivalizer.xyz/post/the-missing-zig-polymorphism-reference
Zig interfaces for the uninitiated
By Nathan Michaels, posted june 2020
https://www.nmichaels.org/zig/interfaces.html
Understanding the Zig Programming Language
By Erik Engheim, posted Nov 9 2020
https://medium.com/swlh/zig-the-introduction-dcd173a86975