zig-help

21196 threads · Page 183 of 424

C getchar equivalent in zig 2 messages
Is there a way to "switch" over a byte like the rust `bitmatch` crate? 77 messages
New User
looping over an array list of struct items, and can't recognize struct methods. 28 messages
Get generic type from function 11 messages
Build System Answered 0.13.x
concurrency 32 messages
Value with comptime-only type depends on runtime control flow. 10 messages
Answered
Difference between writers `getStdOut().writer()` vs bufferedWriter(...).writer()` 4 messages
Answered
no module named 'zig-cli' available within module root 5 messages
Answered
Advice on Patterns in Zig Code 18 messages
What has std#TailQueue been replaced with? 11 messages
Type of range syntax 2 messages
Answered
Put into `StringArrayHashMap` doesn't work 4 messages
Answered
Getting non-undefined values from an array 3 messages
Answered
Can I set an entire slice to have the same value `x`? 2 messages
Answered
zig build: `error: HttpProxyMissingHost` 10 messages
Answered
A tutorial on build.zig for medium size project 11 messages
Build System Answered 0.13.x
position independent code (possibly portable) 32 messages
Function that sometimes allocates 13 messages
Answered 0.13.x
translate-c with windows.h results in 2597 compileErrors 16 messages
Answered 0.13.x
Code Review: Kalman Filter in OpenCL 2 messages
Code critique 5 messages
expectEqual on a hashmap 2 messages
Parsing json with names that contain - 2 messages
Answered
Embedding zig-build in my own CLI app 6 messages
Build System 0.13.x
Returning a function that can error - how to write the type? 4 messages
Answered
Trouble with using raylib and nanovg 3 messages
Build System 0.13.x
How to create user defined annotations? 2 messages
Answered
How to check if a bit is set in u8? 26 messages
Answered
Unable to fine libGL 4 messages
Is there a better way to deinit a tagged union? 5 messages
Answered
Issues with gathering identifiers in a lexer. 67 messages
error: root struct of file 'std' has no member named 'ChildProcess' 2 messages
Standard Library
What is the practical use case of unions? 58 messages
Answered
When parsing JSON to a Zig struct is there a way to parse the remaining fields to a separate hashmap 7 messages
Standard Library 0.13.x
Clear any input from stdin 4 messages
Standard Library 0.13.x
Not sure if this is being handled correctly by the compiler? 11 messages
No ECHO constant for setting terminal attributes. 2 messages
Answered
Format an optional string 8 messages
Standard Library 0.13.x
Namespace (struct scope) shadowing rules 8 messages
Answered
How do i ensure my `anytype`s can be used as addresses 21 messages
Implementing a config module 2 messages
Build System 0.13.x
Zig equivelant of fs.readdirSync("./") 8 messages
Passing slice to thread gets corrupted 2 messages
New User 0.13.x
Allocating extra bytes for metadata 10 messages
std.debug.print seg faults 17 messages
TODO: implement @ptrCast between slices changing the length 10 messages
0.13.x
Size of slice types 3 messages
0.13.x
macOS Zig Build Broke 9 messages
0.14.x Compiler
binary produced with zig c++ segfaults but binary made with clang works 5 messages
Answered
Masked stores 12 messages