mach-glfw
capy
mach-glfw | capy | |
---|---|---|
3 | 7 | |
344 | 1,373 | |
5.5% | 6.7% | |
8.1 | 8.5 | |
16 days ago | 9 days ago | |
Zig | Zig | |
GNU General Public License v3.0 or later | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mach-glfw
- Uses Ncurses with zig
-
Help with linking a git submodule for a zig project
I'm currently getting into zig and I am trying to make a flake for a test application and i need a zig library mach-glfw for windowing support. Zig is in the process of getting a package manager so for now an idiomatic way of working with 3rd party libraries seems to be to add them as a git submodule in a folder called libs in the project root directory and link them from build.zig
-
mach-glfw OpenGL 4.1 example
I've had a few folks ask for how to use mach-glfw with OpenGL in the past, and recently in other threads too - so I finally put together an example of how to do use mach-glfw and xq's zig-opengl binding generator together. :)
capy
-
Zig, the Small Language
The fanaticism of Rust devs makes me think it's probably massively overrated (see Node yesterday and Ruby/Rails the day before) and Go is associated by Google which gets a perhaps unfair but still unignorable knee-jerk reaction from me to avoid it.
I don't know enough about Nim to pass judgment.
Two reasons I decided to give Zig a try: The official chat channel is on IRC, instead of Discord or Slack (so the people involved care about efficiency, open standards, and avoiding trends/bandwagoning), and it has an early but promising-looking Swift UI-like cross-platform UI framework in development: https://github.com/capy-ui/capy
- Ask HN: How to make a native GUI with a modern language?
- Capy – Cross-platform library for making native GUIs in Zig
- Capy – Cross-platform library for making true native GUIs in Zig
-
Any recommendation for GUI
I’ve been making Capy (https://github.com/capy-ui/capy) which allows to code once and cross-compile to Windows, Linux, (macOS in the future) and even WebAssembly. It also have support for DataWrapper which allows to easily make animations, and much more.
What are some alternatives?
microzig - Unified abstraction layer and HAL for several microcontrollers
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
zig-args - Simple-to-use argument parser with struct-based config
zgl - Zig OpenGL Wrapper
mach-glfw-opengl-example - Example for using mach-glfw with zig-opengl
zig-gamekit - Companion repo for zig-renderkit for making 2D games
zig-template - A starter template project for Gamercade in Zig.
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
zig-opengl - OpenGL binding generator based on the opengl registry
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library