zig-help

21196 threads · Page 411 of 424

Packed structs and padding? 5 messages
New User
Struct that has either [N]u64 or *const[N]u64 4 messages
How do you read a defined value in C header into Zig? 3 messages
Testing a change to stage1 11 messages
how can i define a build tag? 15 messages
std.net UDP socket 9 messages
Casting multidimensional array to flat array 127 messages
Shorter form of function inside of function 9 messages
How do I use comptime function to initialize an array? 15 messages
New User
Variable number of parameters 5 messages
Undefined instruction 31 messages
While loop 100x slower than for loop? 33 messages
PIE - How do? (zig build) 60 messages
Importing a file outside of the source tree 16 messages
issues compiling on windows 7 messages
sizeof(T) in C not equal sizeOf(T) in Zig? 39 messages
use of undeclared identifier 'Self' 3 messages
New User
Failure to build stage3 12 messages
Compiler
hasFields says no even though fields are present 42 messages
checking if data contains a substring in a streaming fashion 3 messages
caching issues when running zig build test?? 28 messages
selfExeDirPath questions 5 messages
Get largest supported SIMD width 2 messages
problem to run a interactive cli program using ChildProcess.exec 2 messages
Standard Library
Help `zig c++` find the correct include path 27 messages
Compiler
How do I determine frame alignment for asyncCall? 6 messages
HTTP client options? 3 messages
New User
Struct member functions 6 messages
New User
How to retrieve shift type for unsigned integer type? 6 messages
Using ArrayList 14 messages
New User
wchar_t string? 5 messages
Is building llvm and zig with MSVC still supported? 20 messages
How to know if frame is already returned? 14 messages
Location of shared libraries 11 messages
how to pass O.APPEND to std.fs.createFileAbsolute? 8 messages
Standard Library
Converting an integer to a slice 6 messages
embed js engine with bun? 3 messages
Crash using `extern` builtin in stage2 2 messages
Find User's Operating System and CPU Architecture 6 messages
Standard Library
Format string any gives unexpected result on string. 12 messages
How to switch on union(enum) but get non-const result without additional assignment? 17 messages
New User
zig build - declarative way to run subprocesses or threads parallelized 2 messages
Zig void type 2 messages
New User
Why doesn't usingnamespace work as I expect it to? 20 messages
New User Answered
Is there a better way to loop over all enum fields? 3 messages
Getting results from threads 25 messages
Including a C library (SQLite) - error C import failed 16 messages
New User
zig-bootstrap stage3 failure ( 5 messages
Compiler
meta programming question or and autogen 22 messages
alignment must be 1 error + types must be comptime in stage2 130 messages