hxgodot-cpp icon indicating copy to clipboard operation
hxgodot-cpp copied to clipboard

Text: Experiment with CPPIA scripting

Open dazKind opened this issue 3 years ago • 2 comments

Test classdb_unregister_extension_class and and check how Godot deals with it. This is necessary to allow for hot-reloading classes in a cool way

dazKind avatar Jan 21 '23 09:01 dazKind

(Please disregard if this is unwarranted, I just thought I'd chip in with some related links).

If unregistering classes at runtime doesn't work out there's some discussion going on in other places I've been thinking about: https://github.com/godotengine/godot/issues/66231 https://github.com/godot-rust/gdextension/issues/1

I don't know how feasible implementing ScriptLanguageExtension would be, as mentioned in the Godot issue. It might also be worth talking to the rust people to see what their plan is?

jakobwinkler avatar Jan 25 '23 07:01 jakobwinkler

Thanks for your input. Quite an interesting read. It is definitely important to deal with classdb re-registration correctly.

dazKind avatar Jan 25 '23 13:01 dazKind