zig-help

21196 threads · Page 296 of 424

ECS entity system 38 messages
zig unable to find module 2 messages
what does zig cc sanitizer(clang UBSan) catch here 22 messages
Compiler 0.13.x
Please help me 24 messages
Compiler 0.11.x New User
What's the difference between `std.mem.copy(u8, result, a);` vs `result[0..a.len].* = a.*;`? 22 messages
threading - mutex 27 messages
Tell zig build-exe where to produce the executable (or where to copy) 13 messages
Answered
patterns to init comptime length arrays 118 messages
Is there any way I can shift a u64 by 64? 10 messages
Answered
How to use Cryptolens C library in Zig 197 messages
Bitselect operation for SIMD Vectors 4 messages
best std hash fn for 'string'? 10 messages
0.11.x New User Answered
is there a way to locally apply small changes to packages without forking them? 3 messages
zig buil test 2 messages
0.13.x
don't get why build step cannot make executables 5 messages
my comptime is not comptime 3 messages
Answered
Alignment of sentinel values in std.builtin.Type for non-default aligned pointer types 2 messages
Answered
Copy string to 2d array 92 messages
Array declaration? 21 messages
New User
Calling functions from compiler_rt in my code 3 messages
Answered
How to call method from optional pointer? 4 messages
Answered
funny zig behavior 43 messages
New User
Learning Recources 4 messages
Change alignment and backing integer type of packed struct 25 messages
0.11.x New User
String literals 390 messages
How can I understand the issue of string memory management. 21 messages
[]u8 to []u32 3 messages
Answered
Get fields list from anonymous struct. 3 messages
my barehand web server is too slow, but why? 16 messages
is there a way to store a function pointer based on a switch statement? (see example) 22 messages
Nix: Building nightly (docgen issue?) 7 messages
Compiler 0.13.x
std.mem.copy 22 messages
Obtaining two's complement of an unsigned integer 6 messages
--test-cmd gdb 2 messages
Progromatically creating function arguments 6 messages
How to compile a C project where includes in headers are implicit in the main.c 19 messages
Implementing a generic wrapper that can wrap a value type having a non-trivial destructor 4 messages
How do I parse or stringify `zon` format similar to the std.json functions? 9 messages
Interprocess Locking / Shared Memory 21 messages
Answered
Are there any examples of a websocket accepting different message structures? 12 messages
Generate test coverage with `kcov` in `build.zig` 4 messages
Answered 0.13.x
Is `std.event.Loop` good to use right now? 4 messages
type '[5]u8' is not an indexable pointer 3 messages
Answered 0.13.x
Reader type in a struct 9 messages
How to integrate non-zig projects via build.zig.zon and build.zig? 10 messages
I/O loop for simple CLI app 24 messages
Standard Library 0.11.x New User
for loop expression 3 messages
Answered
generating gdb debug symbols insted of a pdb file for uefi application 6 messages
Reading embeded file, can't identify blank lines 4 messages
Trying to understand the built in HTTP client error 15 messages
Standard Library 0.11.x