zig-help

21196 threads · Page 32 of 424

Pointer subtraction not working? 24 messages
Answered
How to just fill as much of a buffer as possible with std.Io.Reader 34 messages
Standard Library master
Reader with limit from reader 12 messages
Answered
Zig 0.15.2 std.fs.File.Writer does not finish writing to file 4 messages
Answered
how to transform u16 into [*c]const u8 (string) 3 messages
New User Answered
"or" type parser combinator dev help 16 messages
Answered
How does the net.Stream reader api work now? 15 messages
Answered
How can I make a `[]u8` from a raw pointer to some memory and a length 4 messages
Answered
zig master: File's writer interface, what's the deal? 30 messages
Answered
how should I do I/O "properly"? 51 messages
master New User Answered
breaking a C codebase into zig build modules 28 messages
Build System Answered
Can't set #defines 2 messages
Build System New User Answered
How to type what io.concurent(...) returns? 31 messages
Obtain environment variable in Zig 0.16.0 9 messages
Standard Library master
zig init code not working 9 messages
New User
Runtime value contains reference to comptime var 7 messages
List Append Not Working 21 messages
std.Io.Dir.cwd().realPath fails 2 messages
In projects, ZLS does syntax highlighting only for files under the project, not files outside (std) 18 messages
How to link dylib library in zig? 20 messages
Zig json uses arena allocator for slice members 2 messages
Squeezing WASM size and performance 9 messages
Answered
Get thread ID from Io.Threaded 4 messages
Answered
any way to use a .lib in a zip fetched by build.zig.zon? 3 messages
Build System New User Answered
Why does std.json.Stringify.valueAlloc use more memory than the length of the final string? 2 messages
Answered
Comptime anonymous struct, may or may not have some fields. 7 messages
Answered
is there a way to change what zig env outputs? 8 messages
Answered
Getting CPU vs wall time 15 messages
Standard Library Answered
Working with non-ascii strings creates a list of integers 31 messages
Answered
@import shenanigans 5 messages
master Answered
How to store a reader / writer and a copy to its interface in the same struct? 17 messages
master New User Answered
2d static-size comptime/generic array typing 11 messages
master New User Answered
I want to debug Zig programs on Windows with the Zigbrains extension on CLion 4 messages
Build System New User
triggering unreachable code inside std.debug in zig 0.15.2 4 messages
Answered
How to create or use an instance of IO 8 messages
Answered
how to do conditional inclusion? 12 messages
How to store nested allocators in a struct 7 messages
Standard Library master New User Answered
How to "stay safe" when building for web with emscripten? 24 messages
Interface philosophy in zig 3 messages
Deallocation of resource causing segfault (zig-img) 159 messages
master Answered
Where did `std.process.argsWithAllocator()` go? 2 messages
Answered
unable to build zig from source because "library 'zstd' not found" 5 messages
Answered
missing functions in the newest zig lib (0.16.0-dev.1912+0cbaaa5eb) 7 messages
Answered
Migration from @Type to @Struct 2 messages
Standard Library master New User Answered
Why the msgSend function call isn't working? even I tried with @call. 52 messages
Using C library 13 messages
New User Answered
writing to the stdin of a Child 12 messages
Standard Library Answered
Interface for SHM and shared Mutexes 2 messages
when i compile a program, that returns an error from main, in debug mode and run it 2 messages
Answered
OOP in Zig 42 messages