>>36210 (OP)i have been testing out zig for a bit now and i feel like its a better C, and it integrates C libraries perfectly too
the defer and errdefer keywords are so useful i wish they existed in C and personally i feel they are better than c++ RAII shit, as you just need to remember to do variable.deinit() when something uses an allocator instead of writing a class with a constructor, deconstructor for everything that has a handle, heap memory etc.
the compiler is also very good and cross compilation is great (was one of the reasons i switched from c++, cmake is fucking annoying)
only issues i have are that its changing so fucking fast that you have to relearn some shit every update, but once it hits 1.0 i feel like that will go away and also with it being a small language theres way less example code to base off of, documentation isnt the greatest but the source code is very readable so you can just go through it to see what something does (unlike the c++ STL)