zgl
capy
zgl | capy | |
---|---|---|
3 | 7 | |
344 | 1,333 | |
4.4% | 3.9% | |
5.7 | 8.5 | |
5 days ago | 6 days ago | |
Zig | Zig | |
MIT License | 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.
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)...
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?
wren-zig - wren bindings for zig
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
zig-gamekit - Companion repo for zig-renderkit for making 2D games
microzig - Unified abstraction layer and HAL for several microcontrollers
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
libepoxy - Epoxy is a library for handling OpenGL function pointer management for you
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library
zig-network - A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP
ZWL - Zig Windowing Library
nappgui_src - SDK for building cross-platform desktop apps in ANSI-C