zig-help

21196 threads · Page 29 of 424

HELP WITH FS ON 0.16 4 messages
Flexible array member (yet again) 8 messages
Answered
`io.select()` on runtime-known slice of futures 14 messages
Answered
Code review - Thread safe channel using a ring buffer queue 19 messages
safe print byte 6 messages
Answered
Code review - Gameboy Emulator in Zig (Still WIP) New to zig 19 messages
New User
std.time.Instant - how to use 13 messages
why are there a stream in server and another in connection? whats is the perpose of the accept fn? 11 messages
master New User Answered
Are pointers to function arguments valid in the scope where the function was called? 3 messages
Answered
Implementing a `std.Io` 86 messages
Standard Library master Answered
What options do I have in Zig to distinguish strings vs. other byte arrays in serialization? 3 messages
Answered
advanced c translation 20 messages
Answered
hover on library function like std.math 5 messages
Standard Library master New User Answered
How to use std.http in zig 0.16-dev (master) 6 messages
master Answered
Unmutated variable not detected 10 messages
In std.builtin.Type.StructField, what does the `is_comptime: bool` field mean? 8 messages
Answered
sleep function in zig? 7 messages
Answered
Deinit wrapper type through mutable or const pointer ? 4 messages
Understanding zig fetch 5 messages
Answered
avoid StderrStreamTooLong 8 messages
New User Answered
Just need some clarification on why my `build.zig` is not... working. And maybe tips on game engines 55 messages
master New User Answered
better ways to write these 7 lines of code? 10 messages
Answered
default value for slice in struct? 8 messages
To which extent can one use undefined in "non-evaluated" contexts? 38 messages
Lifetime of pointers to temporary values 19 messages
Answered
confusing pointer cast error when switching on union 10 messages
New User Answered
a single completely static zig binary 26 messages
Answered
A problem with opaque fields in structs 8 messages
Getting Invalid Record error when trying to compile code in 0.15.2 10 messages
How to get debugging with CodeLLDB working in VsCode 3 messages
In 0.15.2 is there a way to send a datagram to a UDP server using ip:port? 2 messages
Standard Library Answered
How to use `std.process.Child` on the newer versions? 2 messages
Answered
Running server during tests 7 messages
master Answered
Zig + Meson + Wasi 2 messages
Build System Standard Library Compiler New User
`@branchHint` semantics 15 messages
Answered
os signal 6 messages
Standard Library master
How to see return type of function that changes based on inputs'? 13 messages
Answered
how to programmatically check if a function has written tests for it? 11 messages
Invoke Zig compiler directly from a zig program without interacting with system shell 9 messages
Answered
Cannot pass (runtime) tuple to function as `anytype` if function returns a type? 22 messages
Is there a good way to set up PGO in a build.zig using LLVM directly? 3 messages
master
doctest lib root 7 messages
Answered
confusion about pointer to tuple fields 7 messages
Answered
How to concatenate a usize to a string? 5 messages
Answered
Improve comptime performance 25 messages
Answered
Slice of unknown size 13 messages
Answered
If tests are run in parallel, what happens if multiple tests use the same global variables? 10 messages
Answered
zig master branch broken? 54 messages
double free or corruption (fasttop) in multithreaded code 81 messages
Answered
Correct way to use arena allocators? 8 messages
Standard Library master New User Answered