zig-help

21196 threads · Page 98 of 424

Is there any good regex library? i do not see regex at stg. 34 messages
0.14.x New User
print signal number 3 messages
Standard Library Answered
Unable to correctly display certain strings 21 messages
Can you profile compile times in Zig? 3 messages
stack vs heap for large structs 23 messages
Reading incomplete and incorrect data from ArrayList shared between threads 5 messages
Answered
`strip` option doesn't seem to work 4 messages
Build System 0.14.x master
[]u6 to file 7 messages
Git Hash As Version 2 messages
Build System
truncated bits 14 messages
0.14.x New User Answered
Avoid running code twice? 9 messages
Answered
Can/Should I use a tuple as a key in a Hashset? 5 messages
Answered
What could I do to improve readability of the code? 10 messages
New User
Deduplicate code? 3 messages
Answered
createFile on android 34 messages
master Answered
Keep type info in random object storage 15 messages
any good networking libs? 19 messages
Generic type as a structure field? 4 messages
StaticStringMap intitialization 5 messages
0.14.x Standard Library Answered
How does the emscripten build of zig + raylib work 21 messages
Help understanding struct field of type [1024]u8, does it always take the max amount of bytes in Zig 64 messages
Example for std.os.linux.clone function 2 messages
does switch work on optional enum? 7 messages
does zig have map() on optional to unwrap a valid value and do somehting on it? 11 messages
How to memcpy from a source of *anyopaque? 10 messages
is it possible to call a function pointer by passing an array list of parameters? 6 messages
Is there a quick way to escape " in a string? 7 messages
Conditional import for hot-reloading 5 messages
Compiler New User
Is it possible to get the name of a parameter of a function? 8 messages
How do you force a loop to run in comptime? 14 messages
Given a function, is there anyway to find out the number of parameters it has and their types? 2 messages
how to @truncate() from i32 to u16? 3 messages
Can't compile dependency 19 messages
Why do people wrap function in an anonymous struct and then reference it in an expression? 6 messages
Dynamically pass type to function 8 messages
New User Answered
What's the best way to read build.zig.zon from build.zig? 9 messages
Answered
Comptime Struct Construction 3 messages
Answered
How to run a step of a dependency and how to add a dependency generated at build time 25 messages
Build System Answered
Return value from catch clause 6 messages
Answered
Writing a stack type that can be passed in a register 12 messages
Answered
How do I capture back trace similar to `error`? 37 messages
Answered
allocating arbitrary bit sizes 24 messages
Answered
How to make zig bindings package for simple header-only C library raysan5/rres? 25 messages
non-exhaustive enums and EnumArrays 2 messages
Is it conventional to have import statements at the end? 8 messages
0.14.x New User Answered
What's up with this syntax? 9 messages
Answered
I need help with basic understanding of arrays in zig 6 messages
0.14.x New User Answered
panic: incorrect alignment 5 messages
Answered
How to get Zig to recognize a string as NUL-terminated? 11 messages
master
Equivalent to Python's file-like API 4 messages
Standard Library master