zig-help

21196 threads · Page 123 of 424

how to growable list at comptime 6 messages
Answered
I hit unreachable code building on zig 14, is this worth a gh issue? 18 messages
Answered
Help me understand type constructors, defaults and use of `void`, `null`, and `undefined` in Zig 18 messages
How do you add/multiply and catch overflow? 20 messages
memory leak viewer 5 messages
Answered
error: ld.lld: undefined symbol: ... 25 messages
ziglings exercises/107_files2.zig:36:25: 40 messages
New User Answered
Nix-shell build || looking for a way to avoid manually writing the library and include path 4 messages
Build System 0.13.x
make a step visible to projects using this project as a dependency 7 messages
Answered
Initialise an ArrayList with appendNTimes with a struct that needs to be init'ed 10 messages
How to write drivers? 8 messages
interface equivalent for packets? 8 messages
Answered
Issue with using structs to pass function pointers like an interface in OOP 11 messages
0.14.x New User Answered
Define functions for a type outside of the struct 37 messages
How to check what architecture the project is being build on inside build.zig? 3 messages
Answered
assert not null 17 messages
Answered
What is the best way to handle state in a struct? 4 messages
0.14.x New User Answered
What is the proper way to handle fatal errors with additional info? 4 messages
Trying to create a Vector like wrapper 14 messages
New User Answered 0.13.x
Linux: Setting Process Core affinity 17 messages
Standard Library New User 0.13.x
Define a range type. Possible? 3 messages
Zigling 46 (046_optionals2) 10 messages
New User Answered 0.13.x
FFMPEG rendering 28 messages
0.14.x New User Answered
Best way to initialise large arrays `std.ArrayList(std.ArrayHashMap(u32, std.HashMap(u32, void)))`? 33 messages
How do you create subcommands with ZBS? 11 messages
Build System Answered
Absolute path to `std.fs.cwd()` ? 2 messages
Answered
zig aint zigging 15 messages
How do i create this type? 77 messages
Segfault in Allocator-like VTable implementation 11 messages
Answered 0.13.x
Using Allocators with the C-ABI 6 messages
Answered 0.13.x
Proper use of passing **const u8's for C-ABI? 12 messages
Answered
reference self during initialisation 10 messages
Answered
call to @field failing with defined decl 3 messages
Answered 0.13.x
i cant run my code!!!! 26 messages
Answered 0.13.x
How to do nothing when error. 14 messages
Answered
How to read a binary file to memory? 2 messages
`builtin.target.os.tag` vs `builtin.os.tag` vs `target.result.os.tag` 3 messages
Is there a way to change the location that zig build puts the binary? 16 messages
Build System 0.14.x New User Answered
How to get ImGui with GLFW-OpenGL backend working, on Windows? 83 messages
Build System 0.14.x New User Answered
Pointer to const structure passed on across C ABI and mutated on C-side. 26 messages
Answered
Access to enum value by ordinal index 5 messages
Answered
Interface with optional functions 54 messages
Answered
BufMap with u32 values 2 messages
Answered
Can I somehow "cast" the bits from a [2]u32 to get a u64 representing the same bits? 19 messages
help with enums 14 messages
New User
problem with my program 3 messages
Standard Library Compiler New User 0.13.x
Resource deallocation must succeed question 99 messages
Answered
Is this a dangling pointer issue? 15 messages
Answered
deep union type reflection 9 messages
0.14.x New User
MacOS Framework issue when trying to include cimgui 4 messages