zig-help

21196 threads · Page 168 of 424

"libc headers not available" when @cIncluding time.h 3 messages
how do you pass some code into a function like a conditional to check? 20 messages
How to create an ArrayList of ArrayLists ? 4 messages
Standard Library Answered
Dont really know how i can write to stdout.. 25 messages
Answered 0.13.x
Help Needed: Converting Blocking Socket Forwarding to Epoll Non-Blocking in Zig 12 messages
im dumb 39 messages
New User
How do i reference a function in zig from global asm: 7 messages
Answered
How to sort an array hash map by value? 3 messages
Standard Library
bytesAsSlice []u8 to []T 7 messages
0.14.x Standard Library Answered
weird compile error 3 messages
How to Create an Array of Arbitrary Types in Zig (Similar to Java's Object[]) 7 messages
Answered
How do I use std.process.argsAlloc on Window? 2 messages
Answered
Changing the last element of an ArrayList 8 messages
output zig code created by comptime expressions into their own files during build step 9 messages
Trim all escape sequences from string 3 messages
Can't compile curl example on debian 71 messages
0.14.x
Do you need an "wrapper" struct to generate a function at comptime? 3 messages
0.14.x Answered
error handling this tedious? 8 messages
0.14.x Standard Library New User
Does Zig provide any mechanism to write concurrent code? Something like Go routines or async/await? 9 messages
how to assign a struct within a struct 34 messages
0.14.x New User
zig c++ generates massive binaries 31 messages
Answered
How to join a thread waiting on read()? 91 messages
Dealing with TLS 1.2 3 messages
zig build failing to build, throwing cryptic error. 3 messages
New User
How to setup helpful completions in vscode or other editors 11 messages
"Unable to find framework" when linking on MacOS 8 messages
Build System Answered 0.13.x
how do i access buffered writer from anywhere 6 messages
0.14.x Standard Library New User Answered
Trying to work with anytype 3 messages
New User Answered 0.13.x
File-level struct as extern 2 messages
Answered
Obtaining request/response types for a protocol 41 messages
how do i copy into memory 14 messages
0.14.x
ArrayList.toOwnedSlice unreachable code hit 8 messages
Standard Library 0.12.x
Idiomatic way to convert slice to sentinel terminated slice 12 messages
Answered
zig build error that I dont understand 3 messages
Compiler New User
How to prevent zig build from searching for library paths in environment variables? 5 messages
Link .so to Zig? 13 messages
Fighting with c header imports 5 messages
Build System 0.14.x New User Answered
How to iterate globals in a namespace? 3 messages
Answered
How to free memory allocated using allocPrintZ or anything that deals with null terminated strings ? 21 messages
Error building Zig from source: "selected processor does not support system register name" 4 messages
Answered
type-deriving function doesn't get executed? 7 messages
Answered
returning values from switch statements after executing code? 2 messages
New User Answered
zig test src/IcontainCcode.zig <-- sqlite3.h file not found 5 messages
Build System New User 0.13.x
how do i find a dependency hash? 13 messages
Answered
printing error 10 messages
how to cast type [512]u8 to []u8 2 messages
0.14.x
how do i use type net.Stream as an extern variable 5 messages
0.14.x New User
Using SDL with Zig 24 messages
Answered
Best way to implement flexible member-style strings 16 messages
address to stack literals 7 messages
New User 0.13.x