comptime Introducing the Compile-Time Concept Compile-Time Parameters Compile-Time Variables Compile-Time Expressions Generic Data Structures Case Study: printf in Zig co...
unreachable Basics At Compile-Time unreachable In Debug and ReleaseSafe mode unreachable emits a call to panic with the message reached unreachable code . In ReleaseFast...
Undefined Behavior Reaching Unreachable Code Index out of Bounds Cast Negative Number to Unsigned Integer Cast Truncates Data Integer Overflow Default Operations Standard Libr...
Undefined Behavior Reaching Unreachable Code Index out of Bounds Cast Negative Number to Unsigned Integer Cast Truncates Data Integer Overflow Default Operations Standard Libr...
C C Type Primitives Import from C Header File C Translation CLI Command line flags Using -target and -cflags @cImport vs translate-c C Translation Caching Translation failur...
Pointers volatile Alignment allowzero Sentinel-Terminated Pointers Pointers Zig has two kinds of pointers: single-item and many-item. *T - single-item pointer to exactly...
Undefined Behavior Reaching Unreachable Code Index out of Bounds Cast Negative Number to Unsigned Integer Cast Truncates Data Integer Overflow Default Operations Standard Libr...
comptime Introducing the Compile-Time Concept Compile-Time Parameters Compile-Time Variables Compile-Time Expressions Generic Data Structures Case Study: print in Zig comp...
union Tagged union extern union packed union Anonymous Union Literals union A bare union defines a set of possible types that a value can be as a list of fields. Only one ...