zig-help
Actually reading from a SeekableStream?
Switch on modulo int
Answered
Storing an Operator in a Variable
How do you most efficiently do this filesystem stuff with the Zig standard library?
SOS build system!
Total newbie webassembly problem something changed in zig 0.11.0 and I have no idea what to do with
Casting an entire array
Answered
Server closes connection before client gets HTTP response.
Assertion failure: StringHashMap.put() with key from realpath
Standard Library
Answered
Is there a way to create a function that takes an array/slice which only has comptime known len?
constCast shenanigans causing a segfault
Is there a way of timing builds to understand where it's spending time?
Answered
glGenVertexArray
Is there a way to check if something's been allocated with a certain allocator?
Answered
Server ends connection before sending bytes to client.
@sizeOf(array) problem
Answered
Missing log implementation for freestanding
Zig @import vs C #include
Standard Library
New User
`@Vector`
Answered
error unable to evaluate comptime expression
Accessing build.zig.zon from build.zig
`usingnamespace` expected behavior ~~It looks like `usingnamespace` is broken~~
Concat two []const u8
Answered
How to change C++ standard in zig build
New User
How to extern an allocated pointer and free it later?
Answered
interpret u8 slice of length 2 as u16
Answered
Can I "contaminate" the global/local namespace?
Get the byte offset of the tag in a tagged union
Answered
Unable to compile Skyrim SKSE DLL using zig
Structs style
Answered
get string from ptr and length w/o access to buffer
Answered
I get an error when trying to use Addr.resolveIp()
Answered
How to default a struct field with an empty slice?
Weird compile error of std lib testing support function
Answered
Trying to get a struct's name, not its type's name.
What are all the @ functions?
New User
Answered
error using realloc
Answered
Is there a common practice and/or pattern for a function that generates a [_]u8 output?
Answered
Idiomatic Threads
Answered
Help generating a binary with `ObjCopyStep`
What's the idiomatic way to handle error when using C library?
Answered
Namespaces
Answered
`!void` vs `anyerror!void`
Answered
How does Zig’s safety features compare to Rust? Will Zig ever adopt a borrow checker?
Answered
[Build system/package manager] Where are packages downloaded?
Coming from Golang: What is the best way to get concurrency in Zig? Async or Thread intrinsics
How come zig can't infer the array type here?
Is there a hex function?
How do I add module to Zig project in 2023?
Answered
Any differences between Container Level Variables and local variables when alignCast