zig-help

21196 threads · Page 342 of 424

Zig noob trying to understand code fragment 22 messages
0.10.x New User
Is there a way to get the maximum representable value of an unsigned integer type 4 messages
Writing code that only compiles on certain build targets 11 messages
New User Answered
Is Zig's hashmap simply a hashmap with pre-allocated pool of memory? 26 messages
Use package manager to download a GH Release and link against precompiled shared libraries 4 messages
Get print functions Stdout 22 messages
Fishing for an unreachable code crash 26 messages
Use "zig c++" instead of g++ having "undefined symbol" errors 32 messages
New User Compiler Answered 0.13.x
main() function return type 6 messages
Answered
New cast syntax Q 14 messages
0.13.x
Language design question: why conflate pointers and mutability for function arguments? 93 messages
Error in deps.zig generation 31 messages
zglfw & zopengl, no such function "zglfw.getProcAddress" ?? 6 messages
Answered
Nested build.zig files for in-repo modules? 4 messages
0.13.x
Webserver with long-lasting task per request 5 messages
Answered
Extern Struct Memory Layout 11 messages
Compiler Answered 0.13.x
How to run Zig on another Windows drive? 12 messages
Understanding Input 137 messages
Standard Library New User
a nicer way to create a library that can be consumed by zig and C? 2 messages
Is there any way to set the value of a global variable(comptime only) at comptime 5 messages
Answered
New to the language, trying some exercism. what's the syntax for ranges and can I use it like this? 30 messages
Standard Library New User 0.13.x
Arrays getting copied to the stack 4 messages
Zigling number 34 81 messages
Answered
Fastest way to "memset" data aligned to 3 bytes. 48 messages
Answered
a better way to link libraries with vcpkg packages? 5 messages
New User
How does sign extending work in zig? 39 messages
defer and errdefer 151 messages
Answered
Force a const to be comptime_float? 11 messages
How to pass IncludePath to "zig build" args? 3 messages
New User Answered
integer overflow 9 messages
What's wrong with slices? 7 messages
New User
expected ',' after initializer 4 messages
Reflection on @import - accessing declared struct and values 10 messages
0.10.x Answered
Does `std.process.exit()` take into account defer statements? 16 messages
Standard Library Answered
Lambda / Callback 16 messages
New User Answered
Character Comparison 6 messages
I am geting an error i can't fix 5 messages
New User Answered
alternative to timestamp function wasm freestanding 3 messages
New User Standard Library Answered 0.13.x
Zig library requiring JSON/REST, HTTP and Webhooks 31 messages
Answered
how read input keyboard 7 messages
Use PATH environment variable 8 messages
Converting slice byte data to usable struct data 7 messages
New User Answered 0.13.x
best tool for refactoring zig code 16 messages
Converting a slice to a pointer to an array 2 messages
New User Answered 0.13.x
Is it possible to check existance of member in comptime? 3 messages
Answered
'OutOfMemory' when running a custom step in 'build.zig' 23 messages
Answered
Is Zig accepting PRs for std? 9 messages
New User Standard Library Answered 0.13.x
Unintuitive Performance Problem: appendAssumeCapacity 5 messages
0.13.x
Are comptime known structs literals? 2 messages
What does this error mean? 60 messages
Answered