zig-help

21196 threads · Page 281 of 424

What is the proper way of cleaning up json-parsed objects? 2 messages
New User Answered
has_moved function doesn't return false when I expect it to 21 messages
Answered
Building and running multiple zig files without using zig build 14 messages
Answered
dynamic array - right way to allocate 3 messages
Is it possible to create a type that it's members depends on a comptime array? 14 messages
0.11.x New User
Load OpenGL with ZGL and SDL.Zig 3 messages
Answered 0.12.x
zig book 5 messages
Is it possible to make an enum of types? 3 messages
Answered
JSON stringify string arrays 11 messages
New User Standard Library Answered 0.13.x
why I can't access struct fields? 29 messages
Answered
How do I write a LZW algorithm in zig 46 messages
Comptime string concat 2 messages
0.11.x
How to get test's own name? 3 messages
Answered
Is there a writer in the standard library that counts the size of the write without an allocator? 2 messages
Standard Library Answered
Importing C lib from third party 32 messages
New User
How to rewrite a file? 4 messages
Answered
`AutoHashMap` buffer alloc sizes 6 messages
How to make a slice from c pointer 5 messages
Stack overflow? 5 messages
New User Answered
questions about allocator 5 messages
Help write Peterson Lock (spin lock for 2 threads) 3 messages
0.13.x
comptime conditional function call 3 messages
Answered
Function in generic struct. 32 messages
Answered
struct decls missing one function? 3 messages
Answered
Correct way of returning an array/buffer from a function 28 messages
std.DoublyLinkedList Node is void type? How to use std.DoublyLinkedList properly 2 messages
New User Standard Library Answered 0.13.x
std.time.nanoTimestamp is unable to evalue comptime expression 2 messages
Standard Library 0.11.x New User
Fastest way to calculate required bits for an unsigned integer 3 messages
Answered
how to convert a slice to c array ? 19 messages
Issue with generic struct. 3 messages
Answered
How to decide size of buffer efficiently to handle files? 11 messages
Answered
Copying a two dimensional slice 6 messages
Answered
Minimal sqlite example 11 messages
Answered
Getting a []const u8 from a Struct with format defined? 22 messages
An efficient stack/queue? 44 messages
Standard Library Answered
help with understanding modules 18 messages
type vs anytype and generic functions. 8 messages
New User 0.13.x
what's the difference between ArrayList and ArrayListAligned? 6 messages
New User Answered
emitting ZIR from a Zig program 4 messages
why is this happening ? 11 messages
ANSI Codes Work Differently for Multiline Strings? 2 messages
Answered
Use default struct values to set default struct values 7 messages
0.11.x
SIGSEGV calling a C function with Zig generated data 16 messages
0.11.x New User Answered
Declaring a function parameter of a dynamic type.. 13 messages
New User
Understanding tagged union equality 8 messages
`cannot assign to constant` capture 4 messages
Answered
Unexpected line breaks using debug print 3 messages
Is there any way to sort an iterable Dir? 3 messages
Answered
How to disable format on save in zls? (language server) 20 messages
0.11.x New User Answered
help with file generation 36 messages