zig-help

21196 threads · Page 146 of 424

Infer type from anon struct - no longer works ? 4 messages
Answered
What is [*c]const u8 ? 33 messages
Answered
Lock-Free Queue with Large Allocations 15 messages
0.14.x
Using an arena with std.testing.allocator 4 messages
New User Answered
How to link msvcrt.lib when building a static library? 2 messages
Build System Answered
const gpa vs var gpa 12 messages
issues with headers using build.zig for C++ 5 messages
Build System 0.14.x Answered
How to link against shared SDL library on windows 54 messages
Build System New User Answered
What is this "note"? 5 messages
How do I store values on a struct 13 messages
New User Answered
ArrayList.toOwnedSlice() leaks? 7 messages
Answered
Using pointers to structs 15 messages
Faster std block sort 3 messages
Right Bitshift from u16 to u8? 5 messages
New User Answered 0.13.x
what's the cause of this error 11 messages
New User
Can Step.Compile be used to compile with another compiler that is not zig 12 messages
Answered
Ideal way to read comptime-sized buffer 25 messages
0.14.x Standard Library Compiler New User
What are Vectors? 3 messages
Answered
zig 0.13 kernel does not work with Qemu, but C compiled with Zig works 34 messages
Compiler 0.13.x
convert int to bytes 28 messages
Indexing into an empty array 13 messages
New User
Syntax for structs and errors 19 messages
New User
raylib, c_int - error 64 messages
New User Answered 0.13.x
Trying to initialize a compile-time-created struct 3 messages
Answered
Understanding std.time.Timer 17 messages
0.14.x Standard Library 0.13.x
zzz, type error I don't undestand since they arethe same *runtime.lib.Runtime (first program) 12 messages
Hmmm, how do I init a `[]u8` from string litteral in oneline? 15 messages
Create array of fct ptr with comptime parameter 49 messages
0.14.x
build.zig: declarative way check to check if executable exists in system path? 4 messages
Answered
JSON to HashMap(TypeX, TypeY) 5 messages
New User 0.13.x
How to change output folder for SDL headers 4 messages
Build System New User Answered
read entire file in zig to a string 36 messages
Answered
Is there a way to reference / use struct members during initialization? 4 messages
learning zig and i think i'm doing everything wrong 243 messages
Serializing std.ArrayList to JSON 13 messages
Standard Library Answered 0.13.x
Global variables as comptime allocations 33 messages
Answered
memory allocation problems... 29 messages
New User
breakpoints not working when debugging 34 messages
need help dealing with a memory leak 2 messages
0.13.x
Unclear error message 12 messages
0.13.x
How to cast `*const anyopaque` of type `comptime_int` to a usize? 46 messages
How do you create a sentinel pointer to a stack buffer? 10 messages
Answered
I'm developing a type-safe finite state machine, but now I get a stack overflow. Is there a solutio? 26 messages
Need help to wrap c code into zig 21 messages
error.NotOpenForWriting occur when flush the buffered_writer 5 messages
Answered
Is ArrayHashMap a reasonable choice for "array with holes"? 6 messages
Create a file if not found 6 messages
Emit WASM-SIMD 15 messages
New User 0.13.x
Conditional compilation 3 messages
Answered
Error using zstbi 3 messages