zig-help

21196 threads · Page 353 of 424

Unexpected behavior with comptime function 6 messages
Compiler Answered 0.13.x
Error when assigning to Tagged Union 3 messages
New User Answered
How to read a .bz2 (compressed text file) with zig? 3 messages
usingnamespace not including the types? 16 messages
Compiler New User 0.13.x
Compile time append to global array 3 messages
Memory management noob 62 messages
Answered
Zig on Raspberry Pi 3b+ 12 messages
Question about max number size 2 messages
Compiler
How do I get the hash for zig dependencies so I can write it in zon file? 3 messages
++ is not allowed for comptime known values. 5 messages
Weird assembly generation 7 messages
Answered
Managed vs Unmanaged? 15 messages
Help choosing return value for decoding function 14 messages
Which version should I use? 80 messages
New User Answered
Preferred way to set field of tagged union at runtime 12 messages
Answered
profiling? how? 20 messages
Answered
Return type of container level assembly 32 messages
Answered 0.13.x
error: parsing zig.mod failed: YamlUnexpectedToken when trying to upload a package to aquila.red 3 messages
New User
How to open a window 3 messages
New User 0.13.x
losing my mind ... use of undeclared identifying (but it's there!) struct type 14 messages
Answered
How to deal with Tuples? 4 messages
Convert 4 bytes in array to one float 8 messages
Answered
Printing windows control sequences 17 messages
Answered
Weird behavior trying to linearly interpolate floats 10 messages
Pass structs by value or const reference? 16 messages
Answered 0.13.x
get 1st byte of u32 11 messages
Answered
Zig for package devs 20 messages
Porting Cleasy.rs to Zig. 155 messages
`@field(struct, field_name) = runtime_value`: error cannot store runtime value in comptime variable 17 messages
Answered
Is there a streaming version of json.Parser.parse() 2 messages
Implementing writeAll to an event loop 21 messages
ArrayList as struct field cannot be appended 2 messages
New User Standard Library Answered 0.13.x
importing a file outside the project directory in a build script 4 messages
"LLD error: unknown directive: CPCH" when compiling C 4 messages
Answered
How can I port this C code to Zig? 20 messages
Answered
why is this a memory leak? 8 messages
Answered
musl: cannot execute binary file 3 messages
assuring a struct has a well defined memory layout 6 messages
Answered
prlimit64 syscall 4 messages
Answered
build.zig stringing a loooonnnngggg line of "dependOn" steps 6 messages
Answered
Is there any way to dynamically get terminal's width and height in Zig? 15 messages
Answered
Building Zig 2 messages
Compiler
Active field 7 messages
Answered
format string documentation 7 messages
Answered
Error using zig for building debian packages; complaints on (absolute?) paths in archive 3 messages
Why when use more threads is lower? 7 messages
Standard Library Answered 0.13.x
Can someone explain the syntax of the 'optional if' ? 35 messages
New User Answered
var function parameter? 2 messages
Answered
mem compare [*c]u8 and []const u8? 4 messages
Zig Memory Safety 2 messages