zig-help

21196 threads · Page 115 of 424

Comptime debugging? 21 messages
difficulties emitting vpermd 10 messages
Answered
"the following command exited with error code 9" when calling gl.drawElement for no reason 9 messages
New User Answered
`fn(T: type, slice: T) T` vs. `fn(T: type, slice: []T) @TypeOf(slice)`? 19 messages
pg.zig transaction issue, connectionbusy 4 messages
Answered
How to convert this code to zig? 51 messages
Answered
how do i write a function to get the cofactor of a matrix? 3 messages
How to do this? 11 messages
Answered
Decompose an optional union simply 19 messages
Answered
Proper way to include an absolute path in build.zig? 30 messages
Build System 0.14.x
How to get the current time in nanoseconds from a monotonic clock? 20 messages
New User Standard Library Answered 0.13.x
Requesting a change to the standard library 28 messages
How to align Boolean? 10 messages
File access in Zig seems broken under VS Code Windows 31 messages
Answered
How to make relative path in C Import C Include 4 messages
Answered
Why Zig compile-times are unreasonably long in debug mode? 37 messages
0.14.x Compiler New User Answered
Can something like this be made fully comp time? 33 messages
embedfile 7 messages
missing "duplicate struct field name" error 10 messages
Compiler Answered 0.13.x
Zig's counterpart of fopen? 4 messages
Answered
How to write to the address location? 5 messages
How to build a shared library and link against it? 12 messages
Compiler
How good is Zig's optimisation when it comes to converting to a v-table? 37 messages
Answered
Zig Dependency management documentation 5 messages
New User
zig source 4 messages
Compiler
Is the jump from 0.13 to 0.14 a big one? 9 messages
How do you return a pointer to an item in an ArrayList? 7 messages
debug in vscode? halp 12 messages
Is there a way to do 'tee' iteration? 9 messages
Questions about buffers and strings 14 messages
0.14.x Standard Library New User Answered
Runtime enum-to-int cast 16 messages
0.13.x
Zig Run or Zig Build-Exe with Dependencies? 5 messages
Build System
Issues returning an owned string 92 messages
0.14.x Answered
how do i get the length of a `[:0]const u8` ? 5 messages
Answered
constraint 'N' expects an integer constant expression 3 messages
Compiler Answered 0.13.x
Removal of const identifier from pointer 12 messages
Answered 0.13.x
how can i improve this std.Uri code, especially the defer of the replace uri host? 6 messages
Standard Library New User 0.13.x
How can I specify a 32-bit pointer type a when compiling to a 64-bit target? 7 messages
serializing float as byte array 3 messages
SDL 3 createVkSurface needs a thread sleep in release - why?! 127 messages
Answered
Importing C++ code as C 15 messages
i don't get this code 28 messages
fork() safe version of process.execv() 33 messages
Standard Library Answered 0.13.x
How to probably integrate a c library. 34 messages
compiling assembly using the zig build system 3 messages
Build System Answered 0.13.x
Why cant embedFile find the file? 12 messages
string type to a type 9 messages
Can I unpack slice of slices, into new slice of slices, without ArrayList? 4 messages
New User 0.13.x
Wondering if there is a std.mem.eql that doesn't compare the size length? 11 messages
Answered
Zig build does not output files 5 messages
0.14.x Compiler Answered