-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue: Godot 4.0 port of Foreigner #15
Comments
Hi, I am looking into this because https://github.com/metacall/core says libffi is the how they expose C++. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current status
GDExtension
(the replacement forGDNative
in Godot 4.0) since pre-alpha days.GDExtension
has seemed relatively low in development priority, and currently it still seems neither fully baked nor completely documented. So there seemed limited benefit/opportunity for beginning a port of Foreigner to 4.0 in the pre-beta days.GDExtension
development does now seem to be at a point where initial exploratory development of an extension/add-on is possible in order to get familiar with the new feature.A vision for Foreigner/FFI & Godot 4.0
Known differences between Godot 3.x & 4.0 likely to impact Foreigner
Useful
GDExtension
-related links for future referenceGDExtension
examples & documentation:Initial introduction blog post (includes example walkthrough):
"Introducing GDNative's successor, GDExtension"
Mentions options for chat locations related to
GDExtensions
in "Where to go from here" section at end of post.C++ Bindings/"SDK":
Repo: https://github.com/godotengine/godot-cpp/
Of particular note:
GDExtension
" information: https://github.com/godotengine/godot-cpp/#getting-startedGDExtension
: https://github.com/godotengine/godot-cpp/tree/master/testhttps://github.com/godotengine/godot-headers:
Core implementation/headers:
core/extension/*
GDNativeInterface
struct: https://github.com/godotengine/godot/blob/926429392a73a0c2261bc4ed4503c99025842d7c/core/extension/gdnative_interface.h#L384-L558Original initial PR: " Implement native extension system (GDExtension) #49744 "
Informative examples & issues related to
GDExtension
& Godot 4.0 ports in other projects:https://github.com/GodotVR/godot_xr_reference
"Summator Example from Custom Modules made with the GDExtension system in Godot 4": https://github.com/paddy-exe/GDExtensionSummator
https://github.com/Zylann/godot_voxel (
master
branch now targets Godot 4.0)"Porting [
godot_voxel
] to GDExtension #333" (Tracking issue for the project port)GDExtension
/module porting process & is essential reading."GDExtension issues tracker #442" (Tracking issue for
GDExtension
technology/feature itself.)GDExtension
-related knowledge & current issues. (i.e. if you only read oneGDExtension
-related issue today, it should probably be that one. :D )Documents build process: https://voxel-tools.readthedocs.io/en/latest/module_development/#gdextension
https://github.com/nonunknown/gdextension-creator (untested)
Godot 4 + GDExtension support godot-rust/gdnative#824
Hey, wait a minute, that name looks familiar: Godot crashes when using
cast_to
on a node that precedes GDNative node in tree godotengine/godot-cpp#860 :DThe text was updated successfully, but these errors were encountered: