zig-help

21196 threads · Page 340 of 424

Distinction between Type.Decl and Type.StructField 49 messages
comptime generatic tuple of runtime values 11 messages
0.13.x
Code criticism: std.http usage 3 messages
Answered
How do i create a for loop, over a slice, that starts with a certain index and has a stepsize? 12 messages
Wrapping Bit-Shift Right 31 messages
While updating my project, unhelpful error message 7 messages
Ziglings Question 65: `'fetchTheMostBeautifulType' is not a member function` 11 messages
Answered 0.13.x
How to use third-party libraries? 5 messages
New User
How to know whether zig cc cache is working? 9 messages
Comptime code deduping 12 messages
Answered
Enum with strings 30 messages
Zig Build: Where is the default system's $prefix? 6 messages
Answered
How to see if program is running on Windows? 5 messages
Answered
Reading and writing to files efficiently in zig like c. 19 messages
Answered
Finding Optical Drives 2 messages
Is this the expected behavior 3 messages
New User Answered 0.13.x
Access anonymous union from @cInclude .h file 4 messages
Difference between just "canFail()" and "try canFail()" 3 messages
Building UI with zig and Qt 6 messages
How to embed a file into executable? 28 messages
New User
The difference b/w `&buf` and `buf[0..]` when passing a full-length buffer around? 23 messages
Compiler New User Answered
How to use AutoHashMap? I keep getting segfaults with it. 14 messages
New User Answered
Detecting leaks with GPA 4 messages
How to use `streamUntilDelimiter` with `FixedBufferStream` 3 messages
Answered
Can't set an optional value after checking if it was not null 5 messages
0.13.x
fmt a function pointer? 5 messages
Converting a multiline string to []const [*:0]const u8 11 messages
New User Answered
Want to create a construct like LISP's cond using metaprogramming. Any advice? Feasible? 9 messages
0.10.x
Interface array pattern 23 messages
0.13.x
defining declarations through @Type 2 messages
0.13.x
how do I do this "if (@bitCast(u64,p.*) == @bitCast(u64,c.p))" now? 2 messages
Noob question about allocators 56 messages
Pretty printing types? 11 messages
0.13.x
I have an asset/binary file that several run steps use... 6 messages
Answered
Allocator troubles 33 messages
open file binary 65 messages
Opques and Polymorphism 8 messages
New User
Terminal build output dark red is unreadable. Any way to change the color theme? 6 messages
Answered
What option selects endianess 3 messages
New User
Modifying a build artifact with `addSystemCommand` 6 messages
Answered
Question about string and allocators 5 messages
Answered
Idiomatic way of indexing into comptime array with runtime index 5 messages
Typeof function doesn't work 6 messages
The leading web server library? 3 messages
How to include zig.h when using Zig project as a library? 7 messages
Return Dynamically-Sized Array at Comptime 8 messages
New User Answered
Does @Type not work anymore? 118 messages
Answered
hash function to hash slice of integers 3 messages
archive of zig subreddit 91 messages
How does std.mem.splitAny actually work? 15 messages
Answered