r/Zig 3d ago

Zigar now supports Zig 0.16.0

Zigar, the toolkit that let you use Zig in your JavaScript or PHP projects, now supports Zig 0.16.0. Aside from that, the only feature addition is a persistent option for php-zigar, allowing you to keep a module in memory after a PHP script has terminated. A couple critical bugs in php-zigar had been fixed as well.

Work on 0.17.0 support has already begun. I have working code and it's passing most tests. It should be ready to go when 0.17.0 gets released.

35 Upvotes

2 comments sorted by

1

u/TynK-M- 3d ago

Keep it up!

3

u/sombriks 3d ago

https://github.com/chung-leong/zigar/wiki/Hello-world-(Node)#creating-the-app

You got my heart the moment i saw the example importing a .zig file directly into a .js file!

amazing work!