zig-help
Why const Self = This() vs This()
New User
2-D array initialization best-practices
New User
Print function for a competitive programming judge server
Standard Library
New User
Return an anonymous struct
New User
Can I use std.heap.GeneralPurposeAllocator(.{}){} without assigning to var?
New User
Weird things with File.write?
Standard Library
Coerce ! into ?
Pattern for iterator mapping?
Standard Library
Which VSCode extension or setup is recommended now with 0.10?
How to free memory from an ArrayList
How to debug test failure? Output is only `error the following test command crashed`
size_t not found even though stddef.h is included
way to NOT produce object files (.o) ?
How to get structs length at comptime
How to allocate an empty C struct to pass to a C function
build-file option issue?
Compiler
comptime conditional existence of variables
How to link to a local C dynamic library
Am I using std.atomic.Queue wrong?
zig cc & CMake Windows Cross-Compile
Stack trace when assertion fails?
Standard Library
C String from zero terminated string casting
Proper way to get an input string from user? (And handle exceptions)
New User
What's the latest Zig master build that still supports linux-aarch64?
Help me understand Zig's compiler_rt
Compiler
Fixed-size array inside packed struct?
shuffling a slice
Alignment weirdness with struct default values
It take 3 mins to run this simple code
incompatible types 'fs.file.File' and 'void'
MacOs M1 install
Endianness in packed structs?
Will language version management come with the zig official package manager ?
Creating a package with source split among subdirectories.
When calling function using async, does the function run always on the main thread?
Segfault with blas, clibrary
Using mold linker with zig?
Answered
Print digit separators
get pointer to union from union field
noob question, inline for over local variables?
New User
more elegant way to do this?
New User
A way to get a sizeOf a C ABI type when building?
Expected type '...' found 'comptime_int'
soft intToEnum?
Converting string to arbitrary length array
Find index of item by pointer
Advanced ways to write parallel code?
I'm getting a buffered writer for stdout but can't figure out how to pass it to functions
Detect OS and arch at runtime
musttail, guarantee taill call?