zig-help

21196 threads · Page 274 of 424

comptime and code generation 9 messages
Answered
Constructing function at compile time 6 messages
When to use packed structs for flags? 8 messages
`@bitCast` for structs 20 messages
Creating a switch case at compile time. 39 messages
Quick type question 10 messages
Answered
Weird Error when including a C header 15 messages
Answered 0.13.x
`jmp` to a function stored in a zig array with asm 4 messages
Weirdness with modifying things with For Loops 4 messages
Answered 0.13.x
What is the difference of a many-item pointer [*]T and an Array [N]T? 37 messages
Cross platform mmap in zig 41 messages
Simple tuple usage 10 messages
Answered
union create empty type 44 messages
New User 0.13.x
Unable to unzip 4 messages
Standard Library 0.11.x New User
Well, I just don't understand 2 messages
Standard Library 0.11.x 0.13.x
BoundedArray much slower than ArrayList 77 messages
Is there a way to get the current Year and timezone from the std, without using libc ? 10 messages
ARM builds failing with Illegal instruction in Sha256.hash 17 messages
Compiler 0.13.x
Zig Build Accept Multiple Exit Code 2 messages
Answered
Confused about the changes to `addAnonymousModule` 11 messages
Answered 0.13.x
Trying to print lines from file 10 messages
Standard Library 0.11.x New User Answered
Equivalent of `TestOptions.main_pkg_path` after recent build system changes 10 messages
check at compile time if `zig test xyz.zig` is being run 61 messages
using @call 29 messages
Answered
File not found while importing (likely a skill issue) 44 messages
Answered
Where is @call defined in the Zig source code? 3 messages
[Beginner] Returning formatted strings - idiomatic sanity check 18 messages
New User
Pointer to struct suddenly has garbage values 4 messages
wrap std.debug.print 2 messages
0.11.x New User
[VSC Extension] Is it possible to change bracket style? 3 messages
Answered
compare string 15 messages
Answered
How to read the documentation properly 22 messages
Format array as hex 5 messages
struct casting from Zig to C ? 49 messages
Answered
Free String allocated by malloc from C code 6 messages
Answered
How best to add guarantees (if possible) for weird representation scenario 18 messages
Answered 0.13.x
What's wrong with my linking? 41 messages
build step for asset processing 4 messages
comptime Equivalent to the `__COUNTER__ `macro? 17 messages
Answered
How Can I Create a Window with the WinAPI? 18 messages
What is the zig data structure I should use for O(n) checking if a key is present? 8 messages
Answered
Optimize the memory of this struct 24 messages
New User
How do I get struct info out of enums? 5 messages
New User Answered 0.13.x
Idiomatic variable length strings 5 messages
New User
cast `[]?T` to `[]T` 86 messages
New User Answered
Return type of imported function is not pub 2 messages
New User 0.13.x
Converting an array to a slice 24 messages
Answered
enum member functions 11 messages
New User
error: unable to find zig installation directory '/usr/local/bin/zig': FileNotFound 7 messages
Print is changing all my enums 11 messages