An open API service indexing awesome lists of open source software.

https://github.com/frontear/hello-zig

Learning Zig, following https://ziglang.org/documentation/master
https://github.com/frontear/hello-zig

Last synced: 7 months ago
JSON representation

Learning Zig, following https://ziglang.org/documentation/master

Awesome Lists containing this project

README

          

# Hello Zig!

Zig is a fascinating new programming language that I feel sits somewhere between C and Rust. Re-ading through it you can find Rust inspirations almost everywhere but its much closer to C and other C-based languages when reading the flow and logic of the code. As someone whose struggled immensely with learning Rust, despite being a relatively experienced programmer, I've decided to give Zig a try.

## Post-Installation

Take a look at `src/main.zig` for detailed comments about what Zig is doing and why its doing what its doing.
You may run the following `make` tasks to have things happen (see the code for them in the Makefile):
- `make`/`make all`: Build into a compiled executable
- `make run`: Build and run the Zig project
- `make docs`: Generate documentation for the program (at `docs/index.html`)