lukazmm / godot-zig

Bindings for Godot 4 in Zig
MIT License
6 stars 0 forks source link

Project still active? #1

Closed PDeveloper closed 1 year ago

PDeveloper commented 1 year ago

Hey!

I'm interested in using Zig with Godot, especially due to Zig's super sleek cross-compilation options. Is this project still active after a year? If not, what were some of the roadblocks that stopped its development/any specific issues that were the biggest problems leading to a stoppage?

lukazmm commented 1 year ago

Hello! Thanks for the interest. This was more a prototype I quickly hacked together while working on a black hole visualization project in Godot 4 beta, rather than a long term attempt to build stable zig bindings for GDExtension. That project is finished and I haven't been driven to invest more work on the bindings since.

I see that there is completed and fairly active seeming set of bindings for GDNative but of course that doesn't allow use with Godot 4. One could probably use zig translate-c (either through @cImport or a build script) to utilize the official C bindings for GDExtension, though I imagine that isn't particularly ergonomic.

If I use Godot in the future I would actually finish this project (as zig is very pleasant to work with), but I can not make any firm commitment in the meantime. I will probably just archive the repo until/if such a time arises to make this clear.

I will note that if you (or anyone reading this) would be willing to expand upon the bindings, I would be happy to transfer ownership of the repo (or you can copy the code subject to the MIT license). I think Godot 4 and zig would work very well for each other, and also help zig break into the gamedev space.

Cheers!