This project recreates the mini-grep I/O project from the Rust Book in Zig.
$ git clone https://github.com/tristanisham/minigrep-zig; cd minigrep-zigNeed to install Zig? Try ZVM.
$ zig build run -- "query" ./path/to/fileYou can also find your compiled binary in zig-out.
zig build -Doptimize=ReleaseFast