Zig
Zig
Using Zig 0.11 in 2023
Zig has a package manager
As of this writing, October 6 2023, the package manager is currently being worked on for the next release: 0.12.
Here are some relevant Github links detailing that work:
- https://github.com/ziglang/zig/pull/17392
- https://github.com/ziglang/zig/issues/14298
- https://github.com/ziglang/zig/pull/17277
- https://github.com/ziglang/zig/pull/14603
”To use a package that’s been prepared for the new Zig package manager, you just need to list it in the dependencies section.”
Zon. It uses files such as build.zig.zon
which contains a zig anonymous struct. Example:
- run
zig init-exe
- edit files
zig build
- See dir
zig-out/bin
Zig concurrency
TODO
Zig Memory alocation
TODO
For loops
For loops recently changed in Zig