zig-help

21196 threads · Page 322 of 424

Curious about possible optimization 14 messages
Pointer arithmetic 48 messages
Answered
Trying out Zig 76 messages
Compiler New User 0.13.x
Error Unions & FFI 22 messages
Making Zig generate C header files 9 messages
New User
Making a generic function callback 82 messages
Can the stdlib sort a slice of types? 23 messages
Answered
can std.mem.bytesToValue read directly from big array or slice? 3 messages
What does "@TypeOf(.literal)" mean? 9 messages
Understanding integer casting & choice of integer types 6 messages
Answered
QR code 3 messages
rust format! in zig 3 messages
realpathZ usage 32 messages
0.11.x
how do I convert a slice to an array? 17 messages
zig determine that os info 8 messages
Creating Base64 171 messages
writing documentation for functions 28 messages
http client stucks in release mode 55 messages
0.13.x
memory leaked even after deinitializing arraylist 50 messages
Understanding @TypeOf(context) argument 3 messages
compare array in testing gives this error 79 messages
New User
Recieving POST data using std.http 9 messages
Validity of iterable directory handles after making changes to the directory 2 messages
Answered
How to do a packed struct with array fields 36 messages
Answered
Zig executable prints the exit error on the StdErr 80 messages
"thread panic: reached unreachable code" while building an executable 7 messages
Compiler Answered 0.13.x
values of type must be comptime-known 17 messages
How do i give a *const [8]u8 from a [8]u8 type 73 messages
Can I safely return a pointer to a stack variable in an inline function? 6 messages
New User Answered
Optional optional pointer to function 10 messages
How do I reference another project in the same folder 2 messages
arraylist out of memory 158 messages
New User Answered
std.mem.concat slices argument 5 messages
How to assign struct { type, type } 40 messages
New User Answered
is it better to use ArrayList or append a new array with one element to the original array 144 messages
Answered
convert [32]u8 to *[]u8 36 messages
Concat runtime slices 4 messages
Answered
Can somebody smarter than me explain why this code is giving me a thread panic? 49 messages
Unreachable code in zig stdlib on windows 23 messages
Explain the dot syntax 3 messages
Answered
how does `arrayList.append()` work? 121 messages
comptime allocator? 5 messages
Help with NoHash Context for HashMap 3 messages
Answered
Annotating struct fields 12 messages
How can I attach a context to a function pointer 2 messages
How to create a test scoped function 2 messages
Tagged union known type, get value 4 messages
Null-terminated comptime slice concatenation 19 messages
getting import error when testing caused in dependency 126 messages
Passing an array of types to a struct 34 messages
New User Answered