zig-help

21196 threads · Page 405 of 424

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