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