Update README

This commit is contained in:
2026-10-15 02:17:47 +02:00
parent 32c511dd08
commit 2f92305d7e

View File

@@ -21,6 +21,22 @@ come after x86_64 is fully implemented and actually works.
You can see an example of how this library is supposed to be used in
[test/root.zig](packages/cjit/test/root.zig).
## glfw
Zig bindings for [GLFW](https://www.glfw.org/), an open source, multi-platform
library for OpenGL, OpenGL ES and Vulkan development, providing support for
window and context creation and receiving keyboard, mouse and gamepad inputs.
Original C sources are included and compiled with Zig's build system. Bindings
are complete and lightly ziggified, providing simplified names, method syntax
and some constants grouped into enums.
I initially relied on bindings available in the wild, but they eventually fell
behind both Zig and GLFW versions. That said, these bindings do not support
MacOS at all, as I do not have means to test them on MacOS nor do I want to.
This package is actually used by my other project, codenamed
[voxel-game](/:root/renati/voxel-game).
## js
Zig bindings for Fabrice Bellard's QuickJS. Original C sources are included and
@@ -56,8 +72,8 @@ Vector math library with support for vectors, matrices and ×8 SIMD operations
(utilizing SOA layout).
This package is actually used by my other project, codenamed
[voxel-game](/:root/renati/voxel-game) and is probably the most complete package
in this repository.
[voxel-game](/:root/renati/voxel-game) and is probably the most complete
original package in this repository.
## web
@@ -86,3 +102,12 @@ The other utilities include:
Zig bindings for Xlib (aka libX11), a C library implementing a client of the X
Window System protocol. The bindings are not complete.
## xcb
Zig bindings for XCB (aka libxcb), a C library implementing the X protocol and a
lightweight replacement for Xlib. Not every import is typed accurately, but
enough to make the sample application work.
The sample creates an empty window with a Vulkan surface using
`VK_KHR_xcb_surface` extension.