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
- Host: GitHub
- URL: https://github.com/frontear/hello-zig
- Owner: Frontear
- Created: 2023-12-24T20:45:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T22:45:39.000Z (about 2 years ago)
- Last Synced: 2025-03-21T16:13:51.200Z (11 months ago)
- Language: Zig
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`)