zig-help

21196 threads · Page 364 of 424

determine what pointer is more aligned 5 messages
Answered
generic function 46 messages
New User Answered
Building Zig stage4 results in a weird error 5 messages
Answered
Function that can return one possible structure from two 8 messages
0.10.x New User
help me with my questions about Zig 9 messages
Answered
Trouble building zalgebra 16 messages
Strange error when trying to build simple program with zig 0.11 3 messages
Check tagged union variant without switch? 15 messages
Answered
loop with custom stepsize 4 messages
Answered
initialising an array? 10 messages
New User Answered
How to cast a [4]u8 to a u32 assuming little endian order 14 messages
New User Answered
Question: Why I can use bitwise and power operators with undefined while casting? 38 messages
Compiler
Implement realloc for a C library with a backing zig allocator 13 messages
Answered
Writing cross-platform code 8 messages
New User Answered 0.13.x
std=c++17 for root source file 2 messages
Answered
Terminal size 13 messages
Answered
How powerful is `unreachable` ? 12 messages
Answered
possible bug in zig 2 messages
--watch is removed 3 messages
How can I change my imports based on the os i'm compiling for? 5 messages
Calling C functions leads to pointers being unusable from C despite memory address being the same. 9 messages
linkLibC() in windows error 3 messages
zig fmt migrate only? 5 messages
Answered
zig version of bool from `stdbool.h` 8 messages
Pointer to array dereference behavior ` *[n]u8` 2 messages
Representation of pointers to optional values for C interfacing 9 messages
Answered
Is there a Python struct pack unpack library in Zig? 18 messages
What is the standard Zig way of implementing polymorphism? 16 messages
Answered
Missing source debug info for Webassembly 3 messages
Answered
How to Create a Run Script in Zig for Running a Binary with a Custom Runner? 4 messages
New User Answered
Help with assigning constants 12 messages
when I saw this I LOLed (build.zig building and linking to an external C object) 2 messages
Wrap function at comptime and forward arguments 21 messages
Is it true that Zig is faster than C? Should I switch from C if I want to get more speed with my pro 60 messages
Answered
C import code completion 17 messages
Allocating a slice without keeping the length 5 messages
Answered 0.13.x
Could i make a build step to simplify interface creation 102 messages
Answered
Isn't this operator overloading? 33 messages
Answered
Problems when reading from csv 72 messages
Answered
Error printing to `std.io.getStdOut()` 2 messages
Answered
Build fails with `error: EndOfStream` when fetching dependencies 2 messages
0.13.x
Cross compiling C++ to linux with old glibc 10 messages
Compiler 0.13.x
Opening TTY on macOS 4 messages
0.10.x Standard Library New User Answered
question about readStructBig 11 messages
How to tell the compiler that two parameters are of the same type 9 messages
std.http.Client with ca_bundle fails TLS handshake 11 messages
Standard Library 0.13.x
Cross-Platform SIGINT handler 2 messages
Code review - duck typing, generics, comptime 2 messages
New User
extra capture in for loop 2 messages
Answered
Some questions about the recent HTTP server API changes 10 messages