zig-help

21196 threads · Page 97 of 424

Free memory allocated from c 42 messages
0.14.x Standard Library Answered
How to use for loop over array to get pointers? 48 messages
Help resolving a memory overwrite issue 11 messages
Answered
Getting the current username 3 messages
New User Standard Library Answered 0.13.x
Spawning child within WSL does not properly propagate env vars 3 messages
Answered
Can't create structs that have fields of function pointers with comptime parameters AFAIK 3 messages
Answered
Intersection of ArrayLists 10 messages
master Answered
How to check for root rights 12 messages
0.14.x
I want to `readToEndAlloc` a file, but also specify the buffer size needed.... 2 messages
Answered
How do we reduce destroy/deinit time for arena allocated code? 13 messages
Answered
Help with union(enum) Tag Type Mismatch in switch Statement 7 messages
New User Answered
Is x -%= y -% z supposed to be equivalent to x = x -% y -% z? If yes, then why isnt it in 0.15 dev? 4 messages
Standard Library
Is there no HashMultimap or something, in the standard library? 23 messages
0.14.x Standard Library Answered
How to collect stdout and stderr in natural order 2 messages
When to use @Vector? 3 messages
New User Answered
I can't compile this simple function 27 messages
Getting mad about C code integration 26 messages
0.14.x Answered
hard to debug error (no help needed) 10 messages
0.14.x
@as(f64, @floatFromInt(i)) 4 messages
New User
Get the error type of the inferred return error type of a function 11 messages
wasm & zlib "indirect call to null" 29 messages
Casting a single digit as an `i32` 8 messages
Answered
is this read and write structure implemented correctly 266 messages
Allocation inside a function? 6 messages
0.14.x
Zig float shenanigans 4 messages
Answered
Using C lib segfault 5 messages
0.14.x Answered
Wasm program OOM during initialization 4 messages
0.14.x master
0.14.0 breaking change making zig unusable 18 messages
Build System 0.14.x
Alignment in a packed struct 10 messages
0.14.x Answered
Pass test filter into build test in 0.14? 2 messages
0.14.x New User Answered
Is the TCP stream defined in net thread safe? 14 messages
Answered
Creating a HTTP Server 4 messages
0.14.x Standard Library New User Answered
Segmentation fault when I remove `log.info`, code works otherwise. 10 messages
0.14.x New User Answered
cImport value is undefined if I do not "use" the value 3 messages
Answered
How do i import another library that has its own build.zig file? 85 messages
Answered
Ducktyping for `Writer` interface 16 messages
Answered
Incrementally Re-Writing C Projects 15 messages
Build System 0.14.x
simple shared object results in SIGABRT: mem.alignForward assertion failed 9 messages
0.14.x
What's better/more efficient? 10 messages
New User Answered
assert vs comptime vs errors? 4 messages
0.14.x Standard Library New User
generics vs vtables 13 messages
How to only collect 'stderr' but not 'stdout' with std.process.Child.collectOutput() 4 messages
Standard Library master
Unknown tuple return type 8 messages
how to bit pack an array 3 messages
Exporting an uncalled function 46 messages
how to read UTF-8 characters with a buffered reader? 12 messages
Standard Library New User Answered
error: error(x86_64_encoder): no encoding found for: none mov m256 imm8s none none 6 messages
howto check if a value of the field is the default 11 messages
Answered
What is the correct way to initialize this array? 2 messages
Answered
Is there an expression combining the check on optional and its value? 7 messages