zig-help

21196 threads · Page 299 of 424

Clearing an Array 5 messages
New User Answered
hash mismatch loop? 7 messages
Answered
How do i convert numbers for writing to binary file? 6 messages
Callstack for fatal errors is just ??? 18 messages
0.11.x New User
Problems including raylib 4 messages
Answered
segfault when stringifying std.json.ArrayHashMap 18 messages
0.11.x New User 0.13.x
Zig linking issue (using section$start$), also not being allowed using lld with zig build on MacOS? 20 messages
Compiler 0.13.x
export zig fn on windows got an error 6 messages
for loop crashes the program? 10 messages
New User Answered
most frustrating thing 18 messages
Answered
Is it more conventional to assign @This() to a constant Self, or invoke it every time? 6 messages
json parsing without struct 8 messages
URIs in build.zig.zon 6 messages
ZLS weird issue 6 messages
runtime width parameter in format/print functions 6 messages
How to access nth item in an arraylist? 4 messages
New User Answered
struct 'child_process.ChildProcess' has no member 'exec' 5 messages
crash at memcpy.zig? 4 messages
New User
How to inspect contents of a StringHashMap in GDB? 6 messages
Answered
Bytes read from TCP socket 45 messages
Brainstorming Slab Allocator. "Can this work?" 6 messages
"OutOfMemory" error when linking a shared library 33 messages
Build process failing 8 messages
0.11.x Compiler New User
Call `.get()` on `AutoHashMap`, but if error occurred use default value 2 messages
New User Answered
function to initialize struct 4 messages
New User Answered
Growing an array in comptime? 18 messages
Answered
Building dylib with macho on linux 3 messages
Compiler
Add zigwin32 to build.zig 13 messages
New User 0.13.x
How does @fieldparentptr work if item is in an array literal 14 messages
how to free memory 25 messages
Calling AVX512 SIMD intrinsics 4 messages
Howto include other project via build.zig? 35 messages
New User
Arrays vs Slices 2 messages
Answered
Call Rust code from Zig 150 messages
stringify a StringHashMap 21 messages
zig cc from command line to build.zig 15 messages
New User Answered 0.13.x
refer to type of lvalue? 9 messages
Understanding libc++ vs libstdc++ in Zigland better 9 messages
should I allocate simple struct or is it copied? 14 messages
Info about `noalias` 2 messages
Answered
strange behavior with c.sprintf 10 messages
Writing recursion-supporting profiler in Zig 50 messages
Help to turn C headers into zig modules 4 messages
New User Answered
looking to replicate a c preprocessor line as a comptime expression using builtins 10 messages
0.13.x
how to use build.zon file to generate the "zig build-exe" command lines? 7 messages
How can I create a generic struct with methods? 5 messages
New User Answered
comptime T as return value 13 messages
Answered
error: type '[]const []const u8' does not support array initialization syntax 4 messages
0.13.x
Nit: @import() should be in PascalCase? 6 messages
Answered
static link raylib on windows 14 messages