#GDExtension

26 messages · Page 1 of 1 (latest)

scarlet storm
#

Hi, I'd like to make a GDExtension for a programming language, I've already read the "Introduction GDNative's successor, GDExtension" article but I still feel lost, could someone help me understand it better ?

azure temple
#

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

scarlet storm
#

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++ ?

pure nymph
#

Regarding C:

You can use both GDExtension and C++ modules to run C or C++ code in a Godot project.
on same page

scarlet storm
#

So there is an equivalent for godot-cpp ?

azure temple
#

Btw would you mind sharing which language you have in mind to bind?

pure nymph
#

How did you compile this list?

(please remove the embeds 🥺)

#

OP asked for C I think 🤔

scarlet storm
scarlet storm
# pure nymph OP asked for C I think 🤔

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

azure temple
#

Oo sounds interesting, the language syntax looks like rust. Maybe starting from there might help

scarlet storm
#

Actually it looks more like Go

pure nymph
scarlet storm
#

A GDExtension ?

pure nymph
#

Not a game?