zig-help
How to connect to host in sockets
emit-bin
Build System
0.14.x
Answered
I need help for this AI project:
Answered
How do you comment out a code block?
Check if type is ArrayList
Accept a generic allocator interface?
How do you use optionals and pointers together?
making sense of unmanaged dynamic bitsets
0.13.x
Anyopaque casting in a StringHashMap
What return address is for in allocator interface?
Answered
Calling Allocator.free on slice starting at first byte
Answered
Passing cc flags to `zig run`
0.14.x
Answered
how do we seek a buffered reader by a negative offset again?
orelse equivalent for errors?
std.math.log2 and variants not working?
Answered
comptime call of extern function webkit
Printing error from the unit test
Neovim Freezing Sporadically
0.13.x
Good practice for third-party C libraries
Build System
Is there any official resource that explains when to use each type of allocator? Pro and Cos, etc...
Standard Library
Compiler
New User
pros of using comptime
New User
Answered
Reader performance
0.14.x
Standard Library
Compiler
New User
Should I rely on RLS (Result Location Semantics) optimization?
0.14.x
Answered
The b.addInstallFile does not update the file!
: error: access of union field 'Pointer' while field 'Struct' is active
0.13.x
Weird assembly error
Compiler
0.13.x
Zig as build system for c/c++
Build System
Answered
compiler can't infer error type
assert error cannot be returned from function
Example of how to compare strings (case insensitive)?
is a value copy of gpa impl safe
Answered
do while loop in zig?
Answered
CLI Args
New User
Answered
0.13.x
How do I learn to understand the compiler errors
std.ascii.eqlIgnoreCase but no std.unicode.eqlIgnoreCase?
How to map multiple possible strings to single enum values?
@memcpy arguments alias
New User
Answered
0.13.x
Are there any explicit scope checks for r_brace after l_brace?
Compiler
New User
`append` causes segfault when no logging
@cImport permission denied
Incorrect error message in safe and fast modes, possibly a compiler bug?
0.14.x
Answered
Seeming same code gets printed differently
New User
Answered
Parsing arbitrary JSON data
"LLD stderr: clay.o is neither ET_REL nor LLVM bytecode"
Answered
How to concisely collect iterators?
Answered
switch prongs ignored based on comsptime value
import of file outside module path when running test
build.zig: exit code 53 when running tests
Build System
Answered
0.13.x
EnumBitSet?
Answered
C Backend Miscompilation?
0.14.x