What differences between engine module and GDNative if using C++???

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jikai507

What differences between engine module and GDNative if using C++???

:bust_in_silhouette: Reply From: sash-rc

Module’s code is linked directly to engine/executable binary (mostly statically), while GDNative is a dynamic library, which uses wrappers/marshalling to communicate with engine’s core.
For the second one, you don’t need to recompile whole engine, so it’s kind of easier for development iterations.

thanks for your answer

jikai507 | 2021-10-03 14:00