moonglfw | ziglua | |
---|---|---|
1 | 4 | |
63 | 194 | |
- | - | |
5.8 | 8.8 | |
8 days ago | 22 days ago | |
C | Zig | |
GNU General Public License v3.0 or later | 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.
moonglfw
-
I need a click event.
A popular library for input handling is GLFW, for which I wrote Lua bindings (MoonGLFW).
ziglua
-
Zig's Curious Multi-Sequence for Loops
I’ve absolutely had satisfaction with my several personal projects written in Zig. And based on an imperfect measurement (GitHub stars) I have also had moderate success in making something useful. It’s a terminal fuzzy finder [0]. I also maintain a Zig Lua bindings package [1], and I’m working on a port of an old Macintosh game [2].
Zig is exactly what I want out of a language though, so take my opinion with a grain of salt :)
[0]: https://github.com/natecraddock/zf
[1]: https://github.com/natecraddock/ziglua
[2]: https://github.com/natecraddock/open-reckless-drivin
-
How's the current story with Zig in terms of dependancy management and build repeatability?
Zig has a build system (the zig build command) that uses a build.zig file to compile a project. With a git submodule you just add the directory as a package in the build.zig file. Depending on the dependency, there might be a few more steps. For example, for my ziglua library requires adding the package path (so you can @import the zig sources), and also calling the link function which compiles the Lua C source and links with the Zig project.
-
Zig is becoming more production-worthy - zigmonthly
ziglua was released, which "takes advantage of Zig's features to make it easier and safer to interact with the Lua API."
- natecraddock/ziglua: Zig bindings for the Lua C API
What are some alternatives?
moongl - Lua bindings for OpenGL
cosmic - A platform for computing and creating applications.
moonnuklear - Lua bindings for Nuklear
zigimg - Zig library for reading and writing different image formats
vulkan-toy-engine - Multiplayer RTS lua driven engine
zf - a commandline fuzzy finder designed for filtering filepaths
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
open-reckless-drivin - A work-in-progress open source reimplementation of the classic Macintosh shareware game Reckless Drivin'
luv - Bare libuv bindings for lua
glfw - Go bindings for GLFW 3