Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
Exploring basic Zig concepts here.
- Install zig (options)
brew install zig
- Build and run
zig run src/fib.zig -- 10
- Build executable
zig build-exe src/fib.zig
- Run executable
./fib 10