zig-help

21196 threads · Page 73 of 424

Interface implementation 6 messages
0.14.x master New User Answered
use dependency of dependency 73 messages
Build System 0.14.x Answered
function parameter question 3 messages
Android support for SDL3 2 messages
dynamic function creation 35 messages
0.14.x Compiler Answered
compilation error when cross compiling x86_64-linux to aarch64-linux 33 messages
Build System 0.14.x Answered
Difference between `std.Io` and `std.io` and how to get a handle for an stdout writer. 7 messages
Answered
Can you return an error set and an error? 9 messages
how to use std.mem.min with a field in array of struct 12 messages
Answered
Incorrect formatting string? 12 messages
master Answered
How to quickly zero out a large amount of allocated memory? 4 messages
0.14.x Standard Library New User
Need Help: Building a modular program 105 messages
Answered
custom Vectorized indexOfAny 50% slower than std.mem.IndexOfAny help 16 messages
write bytes to files at build. 9 messages
How to expose C functions from within a Zig library? 2 messages
Answered
Way of specifying exactly which library to link 5 messages
0.14.x Compiler Answered
Pass enum as parameter 20 messages
Answered
is it possible to generate integer type from known size? 5 messages
0.14.x Answered
Unexpected behaviour on debug optimization level (riscv64) 3 messages
master Answered
How do I manage Zig building to Android 15 messages
Math operations for packed structs result in suboptimal assembly? 8 messages
0.14.x Compiler
How to test if an error is in an error set? 4 messages
Answered
Master ZLS installed by ZVM can't find the STD 14 messages
Build System master Answered
What is the correct way to initialize os.linux.ifreq? 8 messages
0.14.x Standard Library New User Answered
Incompatible pointer type warnings on MacOS Source build 7 messages
master 0.14.x Compiler Build System Answered
Is there a way to create an empty tagged union in the switch parens? 3 messages
0.14.x master Answered
Why does this work?? 5 messages
How would you approach reading jpg files and scaling them in zig? 7 messages
Stopping a process to see if defer is working, other than using ^c ? 10 messages
0.14.x
DebugAllocator docs question 2 messages
Do you have to pass .target and .optimize explicitly to dependencies or is it done automatically? 5 messages
Build System Answered
Why does this cause a segfault? 10 messages
0.14.x New User Answered
Ho to kill thread? Or test something that need to run in background 4 messages
replacement for LinearFifo 37 messages
spirv image sampler 2 messages
Can I wrap an already thread-safe allocator as a ThreadSafeAllocator with zero overhead? 2 messages
How to improve this comptime construct? 29 messages
Answered
ZLS vs Compiler StdOut 32 messages
Standard Library New User
Displaying a dependency's build options 2 messages
Answered
Is there a way to instruct ZLS to use `zig build test` instead of `zig test` for debugging tests? 13 messages
Build System 0.14.x New User
Zls Bug 50 messages
New User
Understanding Zig async IO using the iofthetiger library 2 messages
What is the zig way to make function parameters updatable? 39 messages
Experimenting with generic Type recursion 11 messages
How would one create a comptime map keyed by type, with O(1) lookup? 86 messages
ThreadPool.zig is not present in the latest pre-built download 3 messages
How do I join two slices without causing reallocation? 6 messages
0.14.x New User Answered
Combining GPU Backends: Can't Find Libraries 18 messages
0.14.x New User Answered
How do you perform saturated addition with two different types of unsigned integers? 5 messages
Answered
Idiomatic way of reading terminal input from user with terminal in raw mode? 14 messages