zig-help
My brain does not understand threads.
0.14.x
Standard Library
Test allocator says: memory leak!, but i can't see why
New User
0.13.x
Modifying a struct inside an HashMap
0.14.x
Answered
How to read what a child process is outputting in "real time"?
@intFromFloat use in static lib causes linker error on darwin with `ld`
any good zig lib for filesystem notification?
After resizing, forced to set len manually. What am I doing wrong?
Answered
Cross-platform way to allocate 32-bit pointers on 64-bit
parseInt throws error.Overflow on 0xff_ff_ff_ff input
New User
0.13.x
Idiomatic workaround for reifying decls?
New User
Answered
0.13.x
(solved) cleanly initialize array of strings
Answered
Unable to understand why there are two kinds of pointers
Why const?
Answered
Error unsupported type
Which library do you use for multithreading with Zig 0.14?
Answered
How to link volk with zig?
How to return from a block?
Answered
0.13.x
error: expected 2 argument(s), found 1... on a function that has a reference to self
0.14.x
What is the "best" IDE to use zig?
Compiler
New User
Answered
(solved) help w/ "zlm" dependency
Concurrent read in threads
Why I get "local variable is never mutated" on StringHashMap to which I am adding items
New User
0.13.x
Can we omit a struct declaration's type but still type check it safely?
`zig build` segfault?
How do you avoid “use after free” bugs?
is there any way to check for the undefinedness of a value?
New User
Answered
0.13.x
vtable syntax confuses me
Answered
How do you test leak-by-design code?
Answered
gpa allocates zero init?
Answered
Conditionally disable code at comptime
Answered
Zig module structure
Is there any difference between the following `if` statements?
Allocation rules
New User
0.13.x
Initializing strings
Weird error when calling deinit a StringHashMap
Answered
Cant generate raw object
Spawn multiple processes and read their output asynchronously
0.14.x
Standard Library
Can we read the length of a utf8 string without encoding/decoding?
Error while building
Answered
panic: access of union field 'x' while field 'y' is active
unroll array of slices
Answered
0.13.x
How to marhal/unmarshal bool type properly?
New User
Answered
0.13.x
How do you deal with unexpected segfault?
error: invalid cpu architecture: aarch64
Build System
C union with bitfield strcut, is there a way...
Answered
Zig C Parser?
Compiler
Answered
a is of type u1920, what does that error even mean?
convert []u64 to []u8
What is a correct default value for a slice inside a struct?
Iterating over and using struct fields
Answered