Analysis updated 2026-05-18
Write performance-sensitive game logic in Rust and attach it to a Godot 3 scene like a regular script.
Maintain an existing Godot 3 project that already depends on gdnative bindings.
Use partial async support to let Rust code wait for game events without blocking the game loop.
| godot-rust/gdnative | maplibre/martin | dathere/qsv | |
|---|---|---|---|
| Stars | 3,631 | 3,634 | 3,640 |
| Language | Rust | Rust | Rust |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | developer | developer | data |
Figures from each repo's GitHub metadata at analysis time.
Requires a matching Godot 3 version, bindgen dependencies, and compiling the Rust code as a shared library.
This library lets you write code in Rust for games built with the Godot game engine, specifically the older Godot 3 version. Godot is a free, open-source tool for making 2D and 3D games. Normally you write game logic in Godot's built-in scripting language called GDScript, but this library lets you write that logic in Rust instead, then load it into Godot as a compiled plugin. The appeal is that Rust offers stronger safety guarantees and can run faster for performance-heavy code. Important context: this library is no longer actively developed. When Godot 4 was released in early 2023, the team shifted focus to a new library called gdext, which works with Godot 4's updated plugin system. If you are starting a new project today, the README recommends using gdext instead. This gdnative library remains available and stable for projects still on Godot 3, but no major new features are planned. For anyone still using Godot 3, the library supports versions 3.2 through 3.5.1, with the latest Godot 3 release working out of the box and older versions requiring a manual configuration step. It works by compiling your Rust code into a shared library file that Godot loads at runtime, then you can attach your Rust logic to objects in the game scene just like you would with a regular GDScript file. The repository includes a user guide, API documentation, and examples to help with setup. There is also partial support for async programming patterns if you need Rust code to wait for events without blocking the game loop.
gdnative lets you write Rust game logic for Godot 3, but it is no longer maintained now that Godot 4 users have moved to the successor library gdext.
Mainly Rust. The stack also includes Rust, Godot 3, GDNative.
No license terms are stated in the README excerpt.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.