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