Zig by Example
Zig by Example Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. Please read the official documentation to learn more. Zig by Example is a hands-on introduction to Zig using annotated example programs.
- ▪Zig by Example Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
- ▪Please read the official documentation to learn more.
- ▪Zig by Example is a hands-on introduction to Zig using annotated example programs.
Lobsters files mainly under programming. We currently carry 178 of its stories.
Opening excerpt (first ~120 words) tap to expand
Zig by Example Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. Please read the official documentation to learn more. Zig by Example is a hands-on introduction to Zig using annotated example programs. The examples are written for version 0.16. Check which version you’re using if something isn’t working. Getting Started Hello, World! Formatted Output Unit Tests Basic Types Variables Illegal Behavior Build Modes Basic Types Integers Integer Operators Floating-point Numbers Functions and Errors Functions Errors Assertions Control Flow If Statements Switch Statements While Loops For Loops Blocks Defer Errdefer Compound Types Arrays Slices Pointers Optionals Structs Tuples Enums Unions Tagged Unions Standard Library Allocators…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Neocities.