#GDExtension
26 messages · Page 1 of 1 (latest)
There are multiple bindings for existing languages. Like C# is officially supported and other community bindings like Rust, Go, D, Python, nim, etc on Github
Those are GDExtension ? I thought they were GDNative
I know Rust has a GDExtension though
What I understand is that I need to bind the API to the language I want
But can I bind C or is it only C++ ?
https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/what_is_gdextension.html gives advise for C++ ... but links also to Rust and others
Introduction: GDExtension is a Godot-specific technology that lets the engine interact with native shared libraries at run-time. You can use it to run native code without compiling it with the engi...
Regarding C:
You can use both GDExtension and C++ modules to run C or C++ code in a Godot project.
on same page
So there is an equivalent for godot-cpp ?
The godot-cpp is a wrapper around the GD extension api that is generated using python script. Other projects like rust already support GDextension to some limit https://github.com/godot-rust/gdext
Some others
A Haxe GDExtension for Godot 4. Contribute to HxGodot/hxgodot development by creating an account on GitHub.
Btw would you mind sharing which language you have in mind to bind?
Sure, I'd like to bind the Odin language
I'd like to work with Odin in Godot, I thought GDExtension would be a good idea, now I'm new so I don't know if it's actually the best way or if I'm missing something
Oo sounds interesting, the language syntax looks like rust. Maybe starting from there might help
Actually it looks more like Go
What do you want to build using http://odin-lang.org/
A GDExtension ?
Not a game?