zig-help

21196 threads · Page 137 of 424

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