zig-help

21196 threads · Page 120 of 424

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