zig-help

21196 threads · Page 140 of 424

Code works with []const u8, but not with []u8 20 messages
Answered
'C import failed' but only when running zig test 2 messages
Standard Library New User Answered
Error Union confusion when printing 5 messages
New User Answered 0.13.x
unglyfying 10 messages
Trying to build lunasvg via zig 2 messages
Answered
How can I optimize this code more? 31 messages
Answered New User 0.13.x
Refer to instance of self in struct 3 messages
Answered
How do i measure cpu time? 5 messages
Standard Library New User
Creating WCHAR buffer for WinZig32 bindings 2 messages
New User Answered
Is there a way to use a C struct with bitfields in Zig code? 2 messages
Base enum off a specified numeric type 2 messages
0.13.x
Dependencies showing up in different sections of auto generated doc start page? 15 messages
Build System 0.14.x Answered
Size of a bare union 3 messages
Answered
Anything similar to c's on_exit()? 3 messages
New User Answered
invalidation mitigation best practices? 12 messages
New User Answered
Native x86 backend: 'error: TODO: implement packed store of u352' on function declaration 11 messages
0.14.x Compiler Answered
sort an arraylist, how? 3 messages
Struct's strings not getting modified or structs with empty strings 14 messages
Help finding books? 9 messages
New User Answered
std.StringHashMap unexplainable memory leak? 12 messages
Answered
I dont know how to do with this optional. (noob) 17 messages
Standard Library Compiler 0.13.x
How to thread on true loops 8 messages
Can't allocate in WASM 2 messages
New User
create a struct of arrays type from a struct 17 messages
0.14.x New User Answered
How can I use BGFX Zig bindings? 15 messages
0.14.x Answered
How to debug C++ app built with zig in CLion 2 messages
Looking for Graphics Library recommendations 21 messages
Answered 0.13.x
Narrow type of an object 12 messages
At start of frame, get the current instant, and at the end, wait until that instant + 1 frame's time 2 messages
Standard Library 0.13.x
How to write zig.build to link start.S and root.zig? 5 messages
How should I correctly iterate through this vector? 14 messages
How to implement something like __mm256_maskload_ps with @Vector 10 messages
convert [*:0]u8 to []const u8 2 messages
Answered
create folder when writing file 6 messages
how can I pass the value_ptr variable to a function, like what type do I need? 32 messages
0.13.x
std.debug.print, std.log.info print nothing in test 5 messages
New User 0.13.x
convert []u8 to [*]const [*]const u8 27 messages
Answered
Would this work well as a replacement for Rust's `Box<T>`? 9 messages
0.13.x
Is there an automatic way of including everything from a C import? 17 messages
New User
Zig as build system for C/C++: how to link other libraries? 3 messages
ArrayList leaking memory 6 messages
Answered
const array of const strings 4 messages
New User Answered
Difference between root module and creating a module 4 messages
Build System 0.13.x
Guarantee return type isn't const 15 messages
New User 0.13.x
What's the cost of using a managed ArrayList rather than an unmanaged one? 5 messages
Standard Library 0.13.x
I want to return a comptime function based on runtime switch value 11 messages
Answered
Meaning of return_type: ?type in Type.Fn 4 messages
Answered
Never seen before behavior from stringhashmap (Maybe its my glitch?) 17 messages
Answered
Did I not correctly link to winsock2.h? 5 messages
runtime type instantiation 23 messages
Answered