#Godot + Rust?

2 messages · Page 1 of 1 (latest)

muted bane
#

I'm looking to learn and develop skills in both Rust as a language and game development.

I've always admired Rust as a language but have struggled with it a lot. I primarily come from Python which I can write effortlessly, as if I was writing it since I was in the womb. That's the kind of level of skill that I hope to reach in Rust one day.

I also want to learn game development, primarily with Godot. But I have my reasons to dislike the languages that are natively supported. So I had the idea to learn both Rust and Godot game dev at once. My instinct tells me that this is a dumb idea, but it is still really attractive to me for some reason. Although, I have the feeling that Rust might not be a wise choice here since Godot is sorta OOP-based as opposed to an ECS model.

I've been dedicating a significant amount of time to researching Godot while I wait for godot-rust to reach stability with Godot 4.

I know this post is kinda all over the place, but what advice would you give me? And do I need a reality check?

Thanks.

finite bramble
#

I've never used Rust for it tbh and my brief encounter with Godot was using GDScript but they do provide a C API for creating scripts and this seems to be the Rust bindings for that: https://github.com/godot-rust/gdext

I don't think it sounds like a bad idea at all - it seems like GDExt is a C API which is also not object oriented and Rust is close enough to C for the same logic to apply

Though perhaps someone with more practical experience with Rust + Godot would be able to offer a different viewpoint

I say if it works for C then it should be also fine for Rust

GitHub

Rust bindings for Godot 4. Contribute to godot-rust/gdext development by creating an account on GitHub.