zig-help

21196 threads · Page 335 of 424

comparing tagged union 3 messages
Parsing "unaligned" hex string into u256 2 messages
Answered
setting terminal attributes 2 messages
How can I list all "Error" in comptime? 7 messages
How to replace stdout when targeting wasm for the web? 24 messages
How to Initialize struct from slice 20 messages
Answered
How to use SDL in zig? 5 messages
Compiler New User Answered
Using zig-network trying to send data on one thread while waiting for data on another thread crashes 22 messages
Answered 0.13.x
Using build.zig for a C++ project 6 messages
Answered
Printing a number in a (non-comptime) base using the Standard Library 3 messages
Standard Library Answered
Memory leak with `ArrayList` and `testing.allocator` inside `ArenaAllocator` 29 messages
Is that possible to detect whether my code is running via `zig build test` or not? 2 messages
Answered
Possible compiler bug involving packed structs and enums 3 messages
Adding .dll to my program 7 messages
Is this a good AST structure? 7 messages
Why do I not have a bin folder? 5 messages
New User Answered 0.13.x
Why packed union(enum) is not allowed? 22 messages
Store a hashmap inside a hashmap 15 messages
New User
Where I can find all variants of std.builtin.os.tag? 15 messages
Why this code does not work 8 messages
0.13.x
windows.h variables cause a unable to translate macro error 10 messages
New User
C API and Zig vulkan binding error 4 messages
im python user and i dont know heap 14 messages
New User
Segmentation fault when trying to return an array 19 messages
0.10.x New User Answered
What are the downsides (if any) of using a global allocator, defined outside main() ? 6 messages
Why does this function behave differently building `releaseFast` vs `debug` or `releaseSafe`? 6 messages
Is std.mem.Allocator a good example of a generic datatype? 18 messages
build system: "Modifying" dependency's build.zig? 6 messages
How to meaningfully use a `?*const anyopaque` 60 messages
Answered
help translating c++ code to zig llama.cpp example 9 messages
Moving from C++ and searching for replacement libraries 2 messages
New User 0.13.x
printing pointers 10 messages
New User
Weird error when cross-compiling a kernel 44 messages
Answered 0.13.x
Problems when trying out tail calling on a binarysearch function 2 messages
Answered
Integer overflow when allocating 2 messages
Answered
Oracle database connection 2 messages
Segmentation fault at address 26 messages
New User
Prevent the compiler from optimizing certain code 42 messages
Answered
How do I properly install zig to bin/? 7 messages
New User
C++ -> Zig 11 messages
How to compare string types in a more lenient way? 7 messages
Answered
No field named 'type', even though std.builtin.Type.StructField has it. 4 messages
Standard Library New User Answered
error compiling c++ with std:vector 15 messages
Unable to find module libparser 14 messages
Zig cannot find header file even with include dir specified. 66 messages
Answered
Is it possible to iterate through tuples? 3 messages
New User Answered
Help with debuging a segfault 8 messages
0.13.x
some functions take parameters that don't need to be given as arguments 9 messages
Adding dynamic log levels to std.log (aka another noob question about comptime) 10 messages
Standard Library New User 0.13.x
Huh? Comptime expression? 12 messages