zig-help

21196 threads · Page 212 of 424

select a union field through a variable 2 messages
Answered
Using General Purpose allocator gives compile error 4 messages
Standard Library New User Answered
[build.zig] How do I copy files? 20 messages
Clarification in the switch part of the tutorial 20 messages
New User Answered
Doing something wrong with errors 9 messages
Standard Library New User Answered
what allocation strategy would you choose ? 4 messages
Answered
Why do i not need to free this memory? 7 messages
0.14.x New User Answered
x86 build without SSE 14 messages
Why std.fs.Dir.Entry.name has field type []const u8 instead [*:0]const u8? 20 messages
Standard Library New User Answered
Is it (not any longer) possible to create pointer-based data structures at comptime? 19 messages
Use comptime []const u8 in global assembly? 5 messages
Answered
Current way to get a random integer? 5 messages
generically handle similar functions with varying args 9 messages
Answered
runtime format width 2 messages
Standard Library Answered 0.13.x
I CANT LINK SDL_IMAGE 14 messages
zig-guide: is statement about cImport requiring link_libc correct? 7 messages
I need help with json parsing 3 messages
Answered 0.13.x
Extract doc comment for struct field 15 messages
Answered
How to test for allocator separation 3 messages
Answered
Key Value in memory db in zig (Perf questions) 24 messages
returning slice of structs returned by json parser 4 messages
Answered
Why does @sizeOf() ignore if a struct is marked as packed 21 messages
best way to initialize structs with values calculated from other values in the struct? 8 messages
New User Answered 0.12.x
Learning Windows API and Zig. 24 messages
Answered
Weird behavior when reading from a Stream 20 messages
0.12.x
Is there a better way of declaring an "enum" of strings? 6 messages
Answered
Where to find all format options from print 11 messages
Standard Library Answered
ChildProcess kill does not kill! 2 messages
Standard Library 0.12.x
Where is the .cache folder on Windows? 7 messages
Answered
Vile stack(?) issues... 22 messages
Answered
How to strip out debug info with a flag in a Zig build system 3 messages
Answered
Returning multiple values in registers (when possible) 2 messages
Equivalent to `isatty()` from C unistd.h 11 messages
Standard Library Answered
How to declare functions in test blocks? 28 messages
Access of union field `Pointer` while field `Void` is active - but why? 3 messages
What's a non-const fn pointer (`*fn ()`) useful for? 12 messages
Type inference, undefined values and undefined behavior 93 messages
Answered
Runtime assertion functions 4 messages
bootloader in zig 5 messages
segfaulting on release build only 3 messages
Weird stdin overflow thingy 74 messages
DLL function return result is invalid 5 messages
@memcopy to concat strings causing panic 4 messages
Embed assets outside of package path 7 messages
Allocating a buffer on the stack with runtime constant length 3 messages
0.13.x
How to emit assembler? 11 messages
Build System New User 0.13.x
Parent struct field as nested struct field default value 16 messages
Answered
New to Zig, wrote a program, need some criticism 2 messages
New User 0.13.x
threads, slices and `BoundedArray`s 26 messages
New User Answered 0.12.x
What does ProcessOrphaned mean 2 messages
0.13.x