zig-help

21196 threads · Page 176 of 424

Could someone please help explain this code from std.zip 28 messages
Answered
Building an object file 34 messages
Build System New User Answered 0.13.x
Difference between write and writeAll? 19 messages
Answered
Any way to use types inside for 14 messages
New User Answered
Size of std.c.pthread_mutex_t 7 messages
Standard Library Answered 0.13.x
expected type '[*c][*c]const u8', found '*[2][*:0]const u8' 5 messages
Answered
Ziglings 69 - comptime 4 68 messages
Answered
Read files within `.epub` 17 messages
Answered 0.13.x
Optional unwrapping not working as expected 5 messages
Compiler Answered 0.13.x
Reducing complex pattern duplication? 5 messages
Answered
Segfault when trying to create a testing type for UEFI interfaces 4 messages
Build System Answered 0.12.x
Reached unreachable code with `writeAll()` 17 messages
Answered
heap allocate multi-dimensional array 14 messages
Answered 0.13.x
Translate-C: Is the type of an enum value supposed to match the type of the enum? 5 messages
Compiler
syntax for adding several c files? 3 messages
incorrect alignment panic on runtime slice::ptr recast 10 messages
New User Answered 0.13.x
`std.ArrayList().clone()` - does it also clone the values it contains? 5 messages
Answered
Polling with tcp Read 26 messages
Standard Library 0.13.x
How to get the Hour of day in the time namespace 6 messages
Get source of fetched package 12 messages
Answered
segmentation fault with a HashMap when using an arena 8 messages
Answered
Create a list without allocator with comptime unknown value 25 messages
how do i link .s files, and assemble with masm 5 messages
struct has no member named 18 messages
Closures & Events 12 messages
New User Answered 0.13.x
What are the 'stages' of the compiler? 4 messages
Compiler
SIGSEGV on a child process 15 messages
comptime to generate function based on return type and param types of another function? 14 messages
0.13.x
how to reference zig file outside module 6 messages
Build System 0.13.x
How to create a type for a function in zig? 49 messages
0.13.x
wasm abort 17 messages
Standard Library Answered 0.13.x
@intCast is giving error 116 messages
How to create linux socket server? 6 messages
Hash maps and gpa, how to structure code 6 messages
New User
How to use FixedBufferAllocator 20 messages
Auto incrementing struct field? 54 messages
Answered
Tagged unions and variable number of args 12 messages
Answered
Why does this compile? (error sets) 11 messages
Compiler Answered
Explaining &.{} Syntax 35 messages
Answered
bitCasting from a slice into a struct 21 messages
What does ingesting a static C library look like without cInclude? 10 messages
Answered
Build a C dependency with zig & add it as a dependency to a Zig parent project. 10 messages
Build System
terminal graphics 3 messages
@import same (local) module in build script and in executable 23 messages
Build System 0.13.x
comptime struct method names 27 messages
Answered
two iterator while loop 2 messages
Answered
what's the reason zig isn't using nt calls 10 messages
I'm trying to implement a gap buffer and I want to avoid giving a owned slice to the user 4 messages
0.14.x New User Answered
Non-blocking IO / Opening a named pipe reached `.BADF => unreachable` 9 messages
Answered
GPA allocator panics with "Deadlock detected". Please help with tracing the issue 30 messages