godot-rust is a GDExtension (also available as a GDNative implementation for Godot 3.x) that brings the Rust programming language to the open source Godot game engine. We first looked at godot-rust two years ago and are revisiting it because godot-rust 0.2 was just released.
godot-rust is described as:
The godot-rust project provides bindings for the Godot game engine to the Rust language.
Rust is an alternative to GDScript, with different trade-offs for users. While GDScript enables fast prototyping and short feedback cycles, games of larger scale may benefit from a stronger type system, a rich library ecosystem and native performance.
The Rust bindings focus on safety, despite interacting with the engine over FFI. Many APIs are designed to catch errors at compile time, while others offer runtime checks to prevent undefined behavior.
We provide bindings for the two major Godot versions:
- gdnative – Godot 3 bindings, integrating via GDNative C interface.
- gdext – Godot 4 bindings, integrating via GDExtension C interface.
Key Links
godot-rust 0.2 Release Details
You can learn more about godot-rust and how to get started in the video below.