capy
zgl
capy | zgl | |
---|---|---|
7 | 3 | |
1,333 | 344 | |
3.9% | 4.4% | |
8.5 | 5.7 | |
6 days ago | 5 days ago | |
Zig | Zig | |
Mozilla Public License 2.0 | MIT License |
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.
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.
zgl
-
How do I pass strings to [*c]const [*c]const u8?😕
I want to load shader files using @embedFile(), and pass them to Zgl (https://github.com/ziglibs/zgl) .shaderSource(). That takes a [c]const [c]const u8, which is equivalent to a 2d array of u8.
-
Example of using ZGL and mach-glfw?
I want to try using ZGL and mach-glfw and I just can't get it to work.
-
How do I link static library?
...but I sort of don't know how do these things properly. Here's my main.zig file (please note that I'm also using zwl and zgl here)...
What are some alternatives?
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
wren-zig - wren bindings for zig
zig-gamekit - Companion repo for zig-renderkit for making 2D games
zig-args - Simple-to-use argument parser with struct-based config
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
microzig - Unified abstraction layer and HAL for several microcontrollers
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library
libepoxy - Epoxy is a library for handling OpenGL function pointer management for you
zig-network - A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP
nappgui_src - SDK for building cross-platform desktop apps in ANSI-C
ZWL - Zig Windowing Library