zig-help

21196 threads · Page 380 of 424

best way to insert u32 into many-item u8 pointer 26 messages
Answered
[SOLVED] Temporary objects? 11 messages
Answered
Where does the compiler generate @import("builtin")? 17 messages
[SOLVED] feature checking in build.zig 13 messages
Answered
Difference between `std.fs.File.write()` and `std.fs.File.writer().write()` 4 messages
Answered
Difference between `std.fs.File.write()` and `std.fs.File.writeAll()`? 4 messages
Answered
I am getting this error when trying to append a new node to a list. 2 messages
Answered
how to print("a = {size: {}} // {s}",.{size, comment}) ? 9 messages
How do I access a type's field by a string to check its type? @hasField returns true, yet @field... 17 messages
Answered
Compile Time Polymorphism 19 messages
Answered
convenient and fast way to count down to zero with unsigned index? 18 messages
Answered
Help finding memory leak 167 messages
Create .so instead of .dylib on macOS 9 messages
Answered
Wasm export function not exporting 7 messages
New User
Compiler generating empty WASM binary 14 messages
accessing exported global constants in WASM 22 messages
Comptime Generated Tests 9 messages
Answered
@call syntax for builtin functions 14 messages
Meta Programing: How to I find a integer type the same size as a float type 3 messages
unaligned access in packed struct on ARM 15 messages
Problem with linking zig stage 2 when compiling zig from source 5 messages
Answered
How to dynamically distribute work across already running threads? 5 messages
Answered
How to use C structs as a Zig variable type with C interop? 5 messages
New User
Traversing list backwards 23 messages
Zig Fmt information 3 messages
Answered
Accessing field type on initialization 4 messages
Answered
Using zig SDL repo with new build system? 141 messages
Answered
zig equivalent to std::system? 4 messages
Answered
Proper Allocator Pattern 5 messages
New User Answered
Float32Array, JavaScript/Zig interop 6 messages
Importing a library from a lib subdirectory 5 messages
Limtitations of ZIG build? 10 messages
Answered
Shouldn't this coerce? error: expected type '[*c]const u8', found '[:0]const u8' 4 messages
Answered
Struct Method Calling Confusion 21 messages
Answered
How do I make the program execute a function at SIGTERM? 7 messages
Standard Library New User Answered
How do I clear print statements for a console program 11 messages
Compiling zig with c, getting asan error 7 messages
Compiler
MachO Flush... warning(link): library not found for '-lSDL2' 30 messages
how to integrate box2d into zig? 51 messages
New User
Moving from openFile + Reader to @embed? 5 messages
Answered
Generics Erasure - idioms? 36 messages
Answered
How do I create a three-dimensional array? 23 messages
New User
Writer not writing to file 10 messages
new for loops ( i.e. ``for(0 .. 10) |i|`` ) ... any way to use increment other than 1? 15 messages
Answered
Address of untagged union cast to *anyopaque? 23 messages
Answered
export extern zig struct to C 10 messages
Is it possible to have a callconv(.C) extern fn be loaded dynamically (like dllimport)? 39 messages
comptime array concatenation via ++ 9 messages
Is there a way to specify "-rpath" to zig cc? 13 messages
Coerce non-literal comptime []const u8 into [:0]const u8? 5 messages
Answered