zig-help

21196 threads · Page 377 of 424

hidden banned words 26 messages
Answered
runtime array concatination 8 messages
Answered
Copying a [12]u8 to a a [12:0]u8 10 messages
Answered
how does zig print the error return trace? 5 messages
Answered
std.fmt.bufPrint to C string 9 messages
Answered
Free a potentially allocated variable from an inner scope 10 messages
Answered
comptime if 30 messages
To return `Error!T` or just `!T` 114 messages
Answered
How to default to ReleaseFast? 6 messages
Answered
how to expose a directory as a module? 15 messages
Answered
Terminal dimensions (width and height) 35 messages
New User Answered
Adding Float and Integer 4 messages
What is being worked on in the language right now? 4 messages
Local packages 28 messages
Compiler
Docs master inconsistency Overflow builtins 34 messages
managing resources of a queue 11 messages
Can someone help me setup Zig in clion? the extension simply dont work. 4 messages
Run zig code as build step 16 messages
How to make a Mutable Slice from an immutable pointer? 10 messages
Are ranges inclusive on both ends or not? 248 messages
Answered
linking code output by C backend says to recompile with -fPIE even when i do 26 messages
What are the format specifiers? 61 messages
Answered
Trying to understand multi-for loops 27 messages
Answered
Does storing types in arrays affect their constness? 30 messages
Answered
How to play wav file 5 messages
Answered
error: element access of non-indexable type 'u8' 4 messages
Answered
Should I return a `?T` or `!T`? 26 messages
Answered
Is Zig a smaller language than C? 19 messages
Standard Library New User Answered
@embedFile unable to find file? 227 messages
Answered
More C translation to zig 41 messages
Create an integer alias which can have associated types 6 messages
New User
Why is my zig wasm seem to be so inefficient? 16 messages
Answered
Getting an error when using @constCast 10 messages
Error when using `lib.emit_h` 3 messages
Should I learn the zig programming language as a new programmer? 32 messages
New User
How can I print something inside a test function? 9 messages
Help me make a dummy lexer with number + and _ only. 58 messages
Answered
Struct fields and encapsulation (if thats the right word here) 70 messages
Answered
zig support in vscode 2 messages
Why is one replaceOwned fine, but multiple cause a memory leak? 46 messages
Loading iterator into [] 9 messages
Answered
Should I use `writer.write` or `writer.print`? 7 messages
When should I keep track of the allocator and when should I pass it around to functions 2 messages
Help translating some C code to Zig 99 messages
How does one determine if something will or will not be executed at comptime? 7 messages
Answered
How do I link to OpenSSL on Mac OS X Ventura 5 messages
does std.fs.read() return a string? What does it return? 33 messages
Answered
Typechecking all binaries, compiling one? 85 messages
switch error io 28 messages
Answered
Getting the function body as a string off of a struct, knowing the function and the struct. 37 messages