What is the vision for godot-python with GDExtension? #380
Replies: 1 comment 4 replies
-
I have done some more thinking about what I would want out of using Python with Godot in the future. For me, the biggest strength of Python is in its massive collection of accessible libraries. It's the only language (maybe other than JS) where I can find a library for anything and get it running, quickly. A major roadblock I see with this, though, is the fact that exporting the Godot app to all supported platforms needs to be possible when using Python as well. If this is not possible, it kind of defeats the purpose of using Python with Godot in the first place. What I mean is: We would need to be able to compile our games with Python to ALL platforms that Godot supports: Desktop, Mobile, Web and also Consoles (in the future). I am not sure if this is a possibility, but it would be incredibly important if this library's goal is to become production-ready for serious projects, which I hope it attempts to become. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Really happy to find that this exists and is being converted to work with the upcoming 4.0 release :)
I love Godot and GDScript, but very often I find myself needing various utility libraries and the Python ecosystem is a great place to find them, which is a primary motivation to use Python with Godot in the future.
Seeing as GDExtension changes the way native extensions work quite a bit, I was wondering:
How will godot-python work in the future?
Right now, I was under the impression that this was a project that works like a module, allowing Python script files to work equivalently to GDScript?
From what I gathered about GDExtension, this might not work anymore? I thought that GDExtension would let us compile any language that can interface with the Godot C API/Bindings straight to native dynamic libraries, then allow us to use the Nodes declared in those libraries straight from the Godot Editor?
Anyways, since I'd love to try this out once it is reworked, I'd love to hear what direction you are taking this in.
EDIT: I'd also be super interested in how this compares to GDScript in terms of performance. Is it way slower? Same speed? ... faster?
Pinging @touilleMan just in case :)
Beta Was this translation helpful? Give feedback.
All reactions