zig-help

21196 threads · Page 355 of 424

Is there an easy way to initialize an array with a slice? 4 messages
Answered
How does the General Purpose Allocator work 7 messages
New User Answered
path (Dir) to string 17 messages
Answered
How to get struct type in function invokation / global state management? 28 messages
Answered
Can't port perfectHash to modern zig 7 messages
`std.fs.path.join` with a buffer? 3 messages
Writing to clipboard 17 messages
"zig build test" hangs with a write to stdout 9 messages
Answered
Accepting piped input in cli app 3 messages
New User Answered
src/ast.zig:186:18: error: union 'ast.Type' depends on itself 5 messages
json.stringify a list of variable types (can be comptime known) 106 messages
New User Standard Library Answered 0.13.x
const undefined use-case? 4 messages
Answered
wrapping usize with subtraction 3 messages
Answered
Zig alternative to Cargo workspaces? 26 messages
New User 0.13.x
Tagged union interface through comptime? 4 messages
Answered
sanity check/critique please? 28 messages
Answered
zgraph, tiny GraphQL lexer+printer, is orders of magnitude slower than expected 11 messages
Beginner compiler question -- Doesn't show me errors 7 messages
Answered
zig build test silently passes, zig test src/main.zig passes with confirmation 13 messages
Answered
debug symbols missing? 6 messages
Is there something similar to @hasDecl, but that checks if the symbol is actually defined? 7 messages
\ziglings\zig-cache\o\xxxxx\build.exe Marked as Trojan. Trojan:Script/Wacatac.H!ml 6 messages
Comptime variables. 13 messages
Help with SDL2 10 messages
Some questions, im new 9 messages
New User 0.13.x
Having difficulty importing raylib 39 messages
failed to cross compile to linux on macos but it works on macos 3 messages
Get assembly output of binary or full build 8 messages
Compiler New User 0.13.x
How to open a folder using comptime? 14 messages
Answered
What's faster, *const Self or Self? 8 messages
Zig Formatter doesn't let curly braces go on new lines 21 messages
New User 0.13.x
std.http.Client hangs on 2nd request (most of the times?) 32 messages
how to empty an arraylist 3 messages
Answered
custom build step 26 messages
Any example on how to parse and use the parsed struct (or tree) on .zon file? 21 messages
Answered
Are integer set/get atomic in zig? 14 messages
zig test requires filename now?? 15 messages
Answered
No field named error with StringHashmap and Thread 7 messages
Answered
How to parse command line arguments properly (cross-platform) 5 messages
New User 0.13.x
Type reflection (alignment) of slice 31 messages
Standard Library Answered 0.13.x
Generating enums with functions 23 messages
Answered
SDL and SDL_image symbols conflicting 5 messages
Is that true about the 0.11 package manager? 48 messages
Answered
Restricting build to target x86_64 Windows 11 messages
Standard Library New User
Equivalent to exe.addAnonymousModule before module transition 4 messages
Answered
Good introduction to allocators 18 messages
New User Answered
Why it can't print the float digit in the first case 36 messages
Is this a mem leak? 108 messages
Answered
is Ziglearn documentation outdated ? 3 messages
New User
Getting a fn pointer to a "member function" of a struct instance - Possible or not ? 3 messages
Answered