Skip to content

Repository files navigation

Zigar

Logo

A software tool set that lets you utilize Zig code in your JavaScript or PHP projects.

Consult the project wiki for installation instructions and tutorials.

Features

  • Access to all Zig data types in JavaScript/PHP
  • Zig-to-JavaScript/PHP, JavaScript/PHP-to-Zig call marshalling
  • Async task management
  • Threads in native code and WebAssembly (with support for pthread)
  • Emulating of file system operations
  • Support for MacOS, Linux, and Windows (both 64-bit and 32-bit)
  • Support for Node.js, Bun.js, Electron, and NW.js (native code execution)
  • Support for Webpack, Rollup, and Vite (WebAssembly)

Versioning

The major and minor version numbers of Zigar correspond to the version of the Zig compiler it's designed for. The current version is 0.16.0. It works with Zig 0.16.0.

Technical support

If you have questions concerning this project, please post them at this project's discussion section. I can also be contacted at ziggit.dev, which also happens to be an excellent forum for finding help on all matters related to the Zig language.

About

Toolkit enabling the use of Zig code in JavaScript and PHP projects

Topics

Resources

Stars

433 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages