DEV Community

Discussion on: Setup Zig for Gamedev

fabioarnold profile image
Fabio Arnold Author

I agree. Zig is awesome. 😃 I think it makes systems programming really fun.

You can include C header files which automatically get translated by Zig's translate C feature. You can also link C libraries. So it integrates well with existing C/C++ code. 😊

The output is native by default. This means x86_64 on my machine. But since Zig uses LLVM it can generate code for any processor architecture supported by LLVM.