https://github.com/acmiyaguchi/zig-toys
https://github.com/acmiyaguchi/zig-toys
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/acmiyaguchi/zig-toys
- Owner: acmiyaguchi
- Created: 2024-04-27T10:59:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-05T19:49:30.000Z (about 1 year ago)
- Last Synced: 2024-05-05T20:44:40.649Z (about 1 year ago)
- Language: Zig
- Size: 327 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zig toy projects
This is a playground for me to learn zig, which is appealing due to the self-contained nature of the compiler and a build-system that's not based on Makefiles and CC.

## notes
### sources
- https://www.reddit.com/r/Zig/comments/16r0fj6/ysk_you_can_use_native_raylib_directly_in_zig_for/
- Getting raylib to work directly in zig without a wrapper
- https://github.com/raysan5/raylib/tree/master
- raylib source code
- https://github.com/raysan5/raylib/issues/3895
- it turns out that the code changed two weeks before I started building the first project. We need to use the `try` keyword to unwrap the results.
- https://github.com/charles-l/zig-odin-raylib-template
- A non-trivial example of creating a wasm project with zig, raylib, and emscripten.
- https://ziggit.dev/t/using-raygui-with-raylib/3399/7
- A discussion on why there's so much struggle to get raygui to work, and a solution further down.
- https://github.com/Durobot/raylib-zig-examples/tree/main/zig-raylib-43-shapes-draw-circle_sector
- Source for `raygui_impl.c`
- https://github.com/ziglang/zig/issues/10836
- Discussion on wasm/emscripten support in zig
- https://www.reddit.com/r/Zig/comments/sdcafd/zig_emscripten/