zig-help

21196 threads · Page 26 of 424

OOM strategies for desktop software 38 messages
How to use zig for android with cmake deps? 10 messages
Build System master Compiler New User
`switch`es get stitches 23 messages
Answered
How to properly pass zig as compiler to cmake? 11 messages
Compiler New User Answered
How is this code not leaking? 6 messages
master New User Answered
reading /dev/input/event*: programmer bug caused syscall error on takeStruct 21 messages
Answered
Error unions with non `error` types? 2 messages
New User Answered
avoid @constCast 9 messages
Answered
i just updated zig and zls and ran zig build on ziglings and got this: 6 messages
master
Compile in a main.c 2 messages
Build System New User Answered
Coersion with `?noreturn` 6 messages
See dead code? 7 messages
is there something like c++ "using namespace std"? 3 messages
Answered
Arbitrary linker flag 2 messages
Answered
I did not receive money from Big Zig to say that I'm dumb 6 messages
Compiler New User Answered
Trouble having build step depend on directory changes 5 messages
Build System New User Answered
How to switch active field of an union? 56 messages
master New User
How many async threads has Io in flight 12 messages
Answered
Libraries to build guis for zig programs 4 messages
Pass parameters using `const pointer` or by value? 41 messages
how to refer to an absolute path in std.Build 3 messages
std.Thread.Futex gone 80 messages
out of bounds access not detected at run time 3 messages
Answered
How to prevent optimization? 13 messages
Answered
How to allocate buffers with known alignment only at runtime? 8 messages
Standard Library New User Answered
Syntax for a ?[][]const u8 literal 10 messages
master Answered
Linking against SDL3.dll and processing events with PollEvents causes a memory leak 66 messages
Answered
help with jsonParse 35 messages
Answered
How to call zig function in index.html? 9 messages
Answered
Bug in Zig or in my code? - passing bool to C produces garbage 29 messages
have any one made a login system in zig? 4 messages
What's the rationale behind unmanaged collections? 52 messages
Standard Library New User Answered
Testing zig libc reimplimentation 4 messages
Answered
How does one properly handle user-input? 53 messages
master New User Answered
Returning Zig Struct By Value In WASM 12 messages
Replace build script of dependency 5 messages
Build System master
emulating MIPS imm_se (immediate sign-extended) bitwise behavior from this Rust example... 6 messages
Ideomatic ways to `fork` and communicate from child to parent 5 messages
Standard Library
error: type '@Type(.enum_literal)' not a function 2 messages
Compiler New User Answered
Stdlib License 4 messages
Standard Library New User
Denormalized Numbers 49 messages
Open file for appending (0.16 master) 13 messages
Notation equivalent to & for c libs 4 messages
Answered
No-length free with std.mem.Allocator 9 messages
Standard Library master Answered
is "zig build-exe src/main.zig" supposed to succeed after running "zig init"? 7 messages
Answered
zls doesnt type an argument properly 4 messages
vulkan-zig & zglfw getInstanceProcAddress issue 18 messages
Answered
Just wanna try creating a simple cross-platform app with sdl and vk 6 messages
New User Answered
How does comptime actually work? 18 messages
Compiler New User Answered
how does `std`'s start comptime code get automatically referenced? 17 messages
Standard Library Compiler Answered