by danbolt · 3y ago · 0 comments
GDScript integrates so nicely with the Node/Resource refcount model. It fills the same niche that Unreal's Blueprints do, which is great! When you've found something performance-critical, it's not difficult to convert a GDScript node into a GDNative one.
I feel like a lot of the "GDScript, ick!" comments tend to assume that the scripting language is trying to be Lua/C#/Python tacked onto a C++ codebase. It's a lot more tightly-integrated with the runtime, and it makes organizing things a lot better in the long run.
It shows that the developers making it are also the ones using it for themselves.
While Godot's profiling has a lot of room for improvement, I appreciate how intuitive memory usage is from both a design and technical standpoint.
[1] https://doc.rust-lang.org/rust-by-example/scope/raii.html
[2] https://docs.godotengine.org/en/stable/classes/class_refcoun...