zig-help

21196 threads · Page 304 of 424

will these error messages be improved? 7 messages
Iterating over a MultiArrayList 8 messages
Hashless TypeMaps with comptime 127 messages
New User
Guarantees around function argument mutability 4 messages
0.11.x Compiler New User
What is currently to recommended profiler for windows? 11 messages
Iterate string value in vga_text buffer sees nothing 153 messages
how to set the type of a fn arg that is any Reader? 8 messages
Answered 0.13.x
integer type to []const u8 (ascii string) 6 messages
Answered 0.13.x
Learning Zig 5 messages
set a unique jsonStringify for a union to print its active value 5 messages
Can I get the memory from an `ArenaAllocator` as a slice? 40 messages
Answered
Zig CC can't find dynamic libraries when building for another target? 7 messages
Compiler New User
How the largest SIMD size supported by arch? 6 messages
0.11.x New User
stack traces missing in debug build 4 messages
Compiler 0.13.x
wasm component model bindings memory bug 14 messages
Guidance needed on correctly implementing hash() and eql() 47 messages
Standard Library 0.11.x New User
how to use the custom format 5 messages
New User Answered
Books on learning Zigs 8 messages
How to combine buffered reads with seeking in a file 10 messages
Emitting u64 to a std.ArrayList(u8) 16 messages
How can I check if a file exists in zig? 23 messages
Answered
undeclared identifier on function 25 messages
Get the "enum" of union 9 messages
parse non-linear binary file format 4 messages
IntCast that error instead of panicking ? 4 messages
Answered
is it possible to @import comptime known string? Says it must be a string literal 12 messages
How do I use a writer? 12 messages
zeroInit for structs containing non-nullable pointers 93 messages
comptime dereference requires '@TypeOf(null)' to have a well-defined layout, but it does not. 47 messages
Why there is no c_uchar? 11 messages
What is the typical way to install executables? 14 messages
What is a const fn? 8 messages
Answered
Can I force `build.zig` to emit a binary for tests? 7 messages
realloc for slice? 38 messages
Linking libc++ producing inconsistent results on x86_64 vs x86 6 messages
generating docs 3 messages
Answered
expected type 'u64', found 'f64' on calling @trunc 10 messages
Faster hash 45 messages
Mutable payload capture 10 messages
Answered
zig array to c void pointer 51 messages
Higher Order Functions 25 messages
New User
how to get comptime args of function args? 10 messages
Issue importing c header 16 messages
Modules information 6 messages
Cant append two slices. 13 messages
Help me understand casting and field order in `packed struct`s 31 messages
freeing string bytes, but cant free pointer/size crossing wasm boundary 18 messages
Answered
Clone arbitrary struct 8 messages
ArrayList with comptime type 165 messages
Import outside of module 18 messages