zig-help

21196 threads · Page 301 of 424

`@import` a file that's in src/ from a file that is deeply nested 13 messages
Is there an equivalent of LLVM SparseSet in the Zig standard library? 2 messages
Answered
What is const-ness exactly? 15 messages
How to get address of a symbol defined in assembly at comptime? 9 messages
function pointers and anyopaque behavior. 171 messages
silly string problem 4 messages
Answered
Inconsistent hash on platforms 32 messages
Convert Runtime integer to float 5 messages
rounding up an int type to the next multiple of a byte 5 messages
why implicit args convert unavailable 4 messages
Getting user input in a console. 8 messages
Standard Library New User
Strange error propagation 4 messages
How do I alias a generated type for purposes of debug messages and documentation? 5 messages
Comptime arguments and variables? 12 messages
export const are pointers in WASM? 13 messages
Answered
how to cast c_int to u8 118 messages
Standard way to return a slice + a deinit() function to free the data it points to? 25 messages
starting index for *for loop* over arraylist 2 messages
unexpected behaviour from panic on casting negative to usize 4 messages
Answered
Error when casting \*const void to *const u8 7 messages
efficient way to store array of int 16 38 messages
Passing a pointer into a function pointer changes value of pointer 17 messages
Windows console struggling to read utf-8 33 messages
Answered
How often to spell out the Zig module name literal 7 messages
zig is slower than python? 58 messages
0.13.x
C or ZIG as first low level programming language? 12 messages
New User
Confusing error: 4 messages
Answered
Learning about zig build 5 messages
Is there a way to check for leaks when tearing down an ArenaAllocator? 43 messages
Standard Library 0.13.x
zig in aarch64 nixos? a wild `error: SystemResources` appears 64 messages
0.13.x
Zig alternative to popen? 4 messages
Answered
isAlphabetic to include utf-8 82 messages
Answered
Segmentation fault when creating randomized array 5 messages
Answered
Standard library for accessing `.env`? 3 messages
A way of including @cImport code completions 8 messages
Link custom shared library 2 messages
Function pointers in extern stucts and exported functions 4 messages
New User 0.13.x
Error when writing to file 19 messages
0.11.x New User
How to send http. request post with payload 53 messages
0.11.x
How to create a LazyPath? 2 messages
How can i connect standard C-library (user32.lib) to my project at my build.zig file? 2 messages
What's the point of `undefined`? 38 messages
How to return null in a extern fn()? 18 messages
0.11.x New User
JSON parsing optionals in type 5 messages
std.json custom parsing 5 messages
`using` like in Odin or jai 33 messages
Can this code be simplified? 18 messages
Answered
Need help debugging appending to an ArrayList in a for loop... 64 messages
New User Answered 0.13.x
Help needed with memory leak 8 messages
Standard Library New User
Code review request 27 messages