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