zig-help

21196 threads · Page 255 of 424

Initializing a struct 4 messages
Answered
Zig's new build system 47 messages
0.13.x
Simple fetch/http GET request and response body (version 0.12.0-dev)? 29 messages
Can I use "for" loops over large arrays? 30 messages
Answered
Build error - unable to find Dynamic system library 'readline' 28 messages
Answered
Zig init not found mac M2 13 messages
zig build test working directory 16 messages
How to keep my exported symbols from being discarded? 9 messages
Is there way to disable LTO? 5 messages
are std hashmaps move-stable or are they meant to be pinned 4 messages
How c and c++ languages coexist in build.zig 16 messages
What's a good way to load a fixed size @Vector from a smaller size slice? 28 messages
New User
How to copy the content of a slice to an array? 13 messages
New User Answered
How to start an alternative std implementation? 43 messages
Compiler New User Answered
How to build of c using build.zig 4 messages
Help with locating memory leak in tests 17 messages
Need a quick help on inferring string size 35 messages
Answered
Get value out of error union 26 messages
0.11.x
[SOLVED] "LLVM ERROR: Do not know how to promote this operator's operand!" when accessing string 12 messages
Answered
For vs. while 7 messages
what is the difference between these zig commenting options ? 21 messages
Expose @import("std") in current scope 3 messages
Standard Library New User Answered
Idiomatic in-place init function name 40 messages
Answered
Multithreading problem 9 messages
New User
gpa.alloc() expects argument 7 messages
zig ast struct init 7 messages
Standard Library 0.13.x
comptime wizardry 5 messages
Answered
X11 color channel masks to color channel offsets and sizes 10 messages
Is it safe to compile user given code? 19 messages
Determining the largest atomic size 2 messages
Answered
Is it safe to reinterpret memory with a packed union? 2 messages
Answered
Hello, just trying zig, unicode doesn't seem to be working. 22 messages
Answered
Zig compiler keeps throwing out calculation. 2 messages
Answered
Use C Library that uses Cmake in Zig project 3 messages
0.11.x New User
Print with formatting at compile time 10 messages
JSON noob who `Unable to parse into type 'void'` 26 messages
Answered
Conditionally export declaration from struct 43 messages
error translating c to zig: 4 messages
Confusion between slice and iterator usage 11 messages
0.11.x
json parsing with a union 24 messages
Standard Library 0.13.x
Compile to WASM doesn't work anymore 42 messages
Compiler
* in fmt 8 messages
0.13.x
How to test a module that depends on other modules 39 messages
Answered
How to handle this issue in my serialization library 5 messages
cast a collection of bytes into packed struct 10 messages
Multiples questions about Zig stdout buffer write 7 messages
How to free without much repetition. 2 messages
New User 0.13.x
array element type 'comptime_int' cannot cast into array element type 'i64' 8 messages
Answered 0.13.x
How to create struct member variable that depends on another member variable. 6 messages
Standard Library New User
Why is explicit comptime needed here? 19 messages
Answered