zig-help

21196 threads · Page 173 of 424

Why is the fallback formatter not handling u8 strings? 13 messages
0.13.x
Why is this 3 times slower than Go and 100 times than C? 76 messages
Answered
Empty array 3 messages
`_mm256_cmpeq_epi8` Bitcast Compilation Failure 12 messages
Standard Library Compiler New User 0.12.x
How to use StringHashMap as a String set 5 messages
Standard Library New User Answered
What does the "[var]: signature" syntax mean globally? 18 messages
0.14.x New User Answered
assert in release builds 3 messages
Answered
Writing to stdout is slow 15 messages
Answered
is there a way to gain back control after a panic? 3 messages
Answered
u1 versus bool: should i consider this? 8 messages
0.14.x Answered
Bitshift 28 messages
Translate-C "stdio.h not found" 5 messages
Answered
Simplest way to cast an enum to a float 3 messages
How to set a test filter when using zig build test 3 messages
Answered
Easy way to print array of strings 4 messages
Standard Library New User Answered
exported function not generating any code 27 messages
Answered
What's the best way to handle c structs with ifdefs inside? 4 messages
Build System Answered 0.13.x
issues wrapping a C library, HAAALP! 37 messages
Answered
Accessing variables in nested loops 10 messages
New User Compiler Answered 0.13.x
How can I open a file with O_DIRECT ? 3 messages
Answered
is there a better way to format a string and pass it to a C function? this looks kinda horrible 3 messages
New User Answered 0.13.x
How do I get an @errorReturnTrace that is not null? 39 messages
Answered
what type should I use for a 0 bit tagged Union field 2 messages
Answered
[build.zig] Running a function from a build command 26 messages
Build System 0.13.x
Get raw bytes of a type? 3 messages
Answered
Production ready regular expressions in zig? 20 messages
Do Arraylists always shallow copy items in loops? 16 messages
Answered
Anonymous function 4 messages
String best practice and feedback on my code 10 messages
New User 0.13.x
how can i write this better? 13 messages
Casting f32 to i32 23 messages
Answered 0.13.x
Conditional compilation? 4 messages
Zig struggles with bitwise operations 3 messages
Answered 0.13.x
cannot assign to constant 5 messages
New User Standard Library Answered 0.13.x
Help to understand the memory leak 5 messages
0.14.x
Need help converting a C function to Zig! 14 messages
New User
ZLS is not working for me? 8 messages
0.14.x New User Answered
Force value to be a runtime value ? 15 messages
How to enable x86 backend in a build.zig? 5 messages
Tuple Structs for enum varants? 20 messages
New User Answered 0.13.x
Local module dev with build.zig.zon etc. 2 messages
Answered
Create slice from pointer and length ? 9 messages
Is there a way to preprint a ZIG data structure? Is there a library available for this purpose? 3 messages
Compile time option for parsing 10 messages
0.14.x
reader. readall vs read 47 messages
zigling number 65 no field named 'Struct' in union 'builtin.Type' 6 messages
error: error union is discarded (im not using unions) 120 messages
only extern structs and ABI sized packed structs are extern compatible 2 messages
Compiler New User Answered
Calling function to generate arms for switch statements, does it happen at comptime or runtime? 7 messages
type coercion not working 8 messages