zig-help

21196 threads · Page 326 of 424

is an error in the errorset? 12 messages
New User
Does Zig have a good way to use hardware fixed-point instructions? 6 messages
Answered
Default assembler 8 messages
Answered
Preferred way for function argument with variable length of known type 4 messages
New User 0.13.x
where to emulate *at syscalls 3 messages
Arraylist / dynamic array of arrays {OutOfMemory} 2 messages
New User 0.13.x
force []const u8 to [32]u8? 17 messages
New User Answered
json comptime fails on nested slice 6 messages
Answered
zig cc unknown type name uint* 2 messages
Compiler
How to read a certain number of bytes using buffered.reader? 51 messages
Linking libc with zig test 16 messages
Pass raw memory to allocator 2 messages
Answered
Struct field with reserved keyword as name for json unmarshal 3 messages
New User Answered 0.13.x
remove a value from a item in hashmap ? 18 messages
Is there a helper to create a sentinel-terminated array from a non-sentinel terminated one? 8 messages
Is there a helper to cast between slice types? 43 messages
Why LTO isn't enabled by default? 6 messages
Answered
Static Allocation with `var` 12 messages
Simpler c++ fii? 11 messages
Answered
Many questions about pointers, arrays, and @Vectors 29 messages
New User Answered
Cross product optimization 5 messages
How to read the total note count of a MIDI File? 47 messages
New User
Is there a way to give a struct fields with inline for? 117 messages
Adding a Negative Number to an Unsigned Number 2 messages
how subtract two array in zig 20 messages
What is the best/advised practice for `deinit` 23 messages
Using function from different .zig file in assembly 7 messages
Answered
Strange Compiler Errors After #16890 9 messages
Standard Library Compiler Answered 0.13.x
zig build test verbose 3 messages
Answered
zon verbose mode? 3 messages
Answered
main() in C 6 messages
hat is the difference ? 17 messages
array doesn't work 3 messages
Answered
how to flush stdin 24 messages
Standard Library Answered
How to get input of user? 5 messages
New User 0.13.x
Optional fields in metaprogramming (again) 13 messages
New User
Has anyone implemented a SOA container for tagged unions? 22 messages
Answered
expected type '[]?model.types.BlockType', found '*const [4]?model.types.BlockType' 61 messages
Printing union's bytes 15 messages
Answered
WouldBlock => unreachable 2 messages
Standard Library New User Answered
Confused about slices/memory/everything 17 messages
Answered
zig compilition config 7 messages
How do I add dependency to a github repo via github commit rather than release tag? 6 messages
Using std.build.addFileArg without adding to command line arguments 4 messages
Answered
How i make struct on heap 22 messages
Why the rename 12 messages
zig compiler as C compiler replacement: the --wrap linker flag 2 messages
Compiler
Type does not support array initialization syntax 3 messages
Unsigned mac os binaries 2 messages
how debug and tracking my variables in zig 18 messages