zig-help

21196 threads · Page 323 of 424

Streaming reader into writer 9 messages
Standard Library Answered
Rust like iterators 22 messages
New User
How does zig C++ work? 3 messages
Logging to file 6 messages
calling `.toOwnedSlice` on arrayList resets capacity? 33 messages
Construct LazyPath from system command output 5 messages
do you use to `arrayList.initCapacity` when using an arena? 14 messages
Comptime Static Variables 7 messages
0.13.x
integer overflow with std.math.maxInt(u32) 7 messages
Answered
Multiplication between f32 representing a percent and u16 4 messages
New User Answered 0.13.x
wasm-ld: undefined symbol: memory 6 messages
Answered
Compiler goes crazy on duping [*c]u8 (v0.11.0) 45 messages
Compiler Answered
curious about the `writer()` interface on arrayList 8 messages
How can I use std.json to read a struct without returning std.json.Parsed(XX) ? 16 messages
Standard Library New User
Output location and name 7 messages
Can I add functions to the struct 10 messages
How can I stringify a struct 12 messages
How can I print a std.net.Ip4Address? 16 messages
New User Standard Library Answered 0.13.x
Stuck with JSON parsing 15 messages
References and mutability in Zig compared to Rust 5 messages
Expected type '*http.Client.Request', found '*const http.Client.Request' 16 messages
I read a file and the result of outputting it to stdout differs 6 messages
Answered
Resources to understand Zig's implementation of "arbitrary bit-width integers." 4 messages
Compiler New User Answered
Is it possible to provide zig modules for use in other people's build.zig? 5 messages
Answered
Is `__builtin_strcmp` deprecated? 3 messages
Standard Library
extracting the path to header files for an included Build.Step.Compile 10 messages
Answered
Is there a way in zig to know which union field is active? 2 messages
New User Answered
Zig GUI "Hello, World!" 9 messages
Standard Library Compiler New User 0.13.x
What's the idiomatic way of having a custom error type? 6 messages
Is there a 'log if error is not caught'? 5 messages
Standard Library New User Answered
How to pass array from zig webassembly to javascript? 14 messages
Answered
segfault on call to EnumArray .set() 31 messages
bufferedWriter to u8[] 2 messages
Call rust code from zig 9 messages
install header files only (installHeadersDirectory) 17 messages
convert string to bytes array 22 messages
Standard Library
expected type '[*c]const u8', found '[65]u8' 15 messages
New User
Go like implicit interfaces possible? 16 messages
Handling FileNotFound in readFileAlloc() 7 messages
Check if type is instance of generic function 3 messages
Answered
Printing out error 11 messages
Answered
How do I let my project use my library? 9 messages
New User Answered 0.13.x
checking if a type is a result of a functor 10 messages
Answered
Replace characters in "string" 2 messages
How to link a system library and use it in my zig program 31 messages
New User 0.13.x
If/else chains with minimal indentation 5 messages
Answered
Is there a way to chain methods that can fail 5 messages
How can i parse JSON 9 messages
Struct: field type string 15 messages
How to iterate over a C array 12 messages