zig-help

21196 threads · Page 174 of 424

sigint handling for a REPL 3 messages
New User Answered 0.13.x
is there a `getOrNull(index: usize) ?T` like function for ArrayLists 8 messages
Answered
read huge file to array faster, and code review 292 messages
the behavior of -Dcpu when compiling C code- __AVX__ defined incorrectly? 5 messages
Build System Compiler Answered 0.13.x
General protection exception 7 messages
0.13.x
filename convention ? 4 messages
Answered
what is lazy path? 11 messages
In zig is this correct: 1 source file = 1 translation unit? 30 messages
Creating a "type map" function where some types are recursively replaces by others in a type 21 messages
New User Answered
Weird behaviour with tuple destructuring 4 messages
Answered
Is there a cleaner way to read the 2nd command line arg? 3 messages
Answered
Code suggestions (float to int and int to float) 11 messages
Best practices on memory allocation 3 messages
Looking for another way to write u32 into u8 buffer 4 messages
Weird result storing struct pointer in ArrayList 2 messages
0.14.x Compiler New User 0.13.x Standard Library
Error in fmt.zig 2 messages
0.13.x
[solved] Avoid duplicated enum syntax in tagged union. Possible? 16 messages
Answered
std.testing: compare two nullable strings 5 messages
Possible compiler bug with ranges. 9 messages
Standard Library Compiler New User
Error in build.zig in cache 4 messages
Build System Answered 0.13.x
Struggling with invalid free 27 messages
New User Answered 0.13.x
Conditional functionality 11 messages
Dynamic array (buffer) 22 messages
Answered 0.13.x
Can std.Json.static report when fields are missing from a data structure? 7 messages
Standard Library New User Answered
Resources for creating an iOS game with Zig 2 messages
Build System
error: value with comptime-only type '@TypeOf(null)' depends on runtime control flow 7 messages
Answered
Tests in build system 9 messages
Build System Compiler New User 0.13.x
root struct of file 'math' has no member named 'absCast' 3 messages
Answered 0.13.x
Identify the end of a packet 6 messages
Random zig-cache related problem on Github CI 3 messages
How to do an atomic compare-exchange using indexes instead of pointers? 3 messages
Answered
Pointer Arithmetic not working as expected 9 messages
Answered 0.13.x
Loss of data when returning a struct instance 9 messages
New User Answered 0.13.x
Error return type something 15 messages
Standard Library Answered
Please critique my first Zig program 27 messages
New User Answered
hash mismatch: manifest declares 23 messages
Answered
Build for 2 arch's at the time. 15 messages
Advice on linking a library 37 messages
Answered
"Inline function is recursive" but recursion is comptime bounded 7 messages
Zig unable to install file being cached due to absolute file path. 12 messages
Answered
how do i use SDL.zig? 16 messages
Answered
Force zig to accept a different type for the purposes of testing 10 messages
Build System Standard Library Answered 0.12.x
Can a Module dependsOn a Step? 59 messages
Build System 0.14.x
Equivalent concept to atoms in elixir ? 4 messages
Answered
Does this crash for you too? 15 messages
Answered
Is there a reasonable way to set std_options for zigs build runner? 6 messages
Build System 0.14.x
Generate array initialization code at comptime when copying from a slice 4 messages
Advice for how to deal with stdlib naming convention fixes 3 messages
Check if `comptime T: type` is u8, u16, ... f32, f64... 5 messages
Answered
No field or member function named 'addModule' in 'Build.Step.Compile' 2 messages