mach-glfw
zig-opengl
mach-glfw | zig-opengl | |
---|---|---|
3 | 2 | |
426 | 103 | |
7.7% | 3.9% | |
6.6 | 2.1 | |
about 1 month ago | 3 months ago | |
Zig | C# | |
GNU General Public License v3.0 or later | European Union Public License 1.2 |
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. :)
zig-opengl
-
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. :)
-
Example of using ZGL and mach-glfw?
I would suggest using xq's zig-opengl instead. ZGL requires linking against libepoxy which, IMO, is not very fun. zig-opengl is pure Zig and doesn't require this.
What are some alternatives?
zinput - A Zig command-line input library!
SDL.zig - A shallow wrapper around SDL that provides object API and error handling
zig-args - Simple-to-use argument parser with struct-based config
zgl - Zig OpenGL Wrapper
llvm-zig - LLVM bindings written in Zig
mach-glfw-opengl-example - Example for using mach-glfw with zig-opengl
microzig - Unified abstraction layer and HAL for several microcontrollers
mach - zig game engine & graphics toolkit
zig-template - A starter template project for Gamercade in Zig.
OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
futureproof - A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!