RepositoryRust
GO

godot-rust/gdnative

Rust bindings for Godot 3

3.6kstars
211forks
0issues
2views

🦀 gdnative — Viết plugin Godot 3 bằng Rust

Thư viện liên kết Rust với Godot 3, nhưng đã ngừng bảo trì — migrate sang gdext nếu dùng Godot 4.

gdnative là thư viện Rust cung cấp bindings gốc cho Godot 3. Dự án cho phép phát triển game hoặc ứng dụng trên Godot mà vẫn tận dụng được hệ thống kiểu, khả năng mở rộng và hiệu suất của Rust.

✨ Điểm nổi bật

  • Native bindings: liên kết trực tiếp với Godot 3, viết plugin và logic game bằng Rust.
  • Type safety: hệ thống kiểu của Rust giúp ngăn lỗi tại thời điểm biên dịch.
  • API stability: focus vào ổn định API, tránh breaking changes không cần thiết.
  • Custom Godot builds: hỗ trợ engine version tùy chỉnh qua feature flag custom-godot.
  • Semantic versioning: tuân thủ Cargo semver cho các thay đổi public API.
  • Tương thích Godot 3.5.1 (gdnative 0.11), 3.4 (gdnative 0.10), 3.3/3.2 (custom build).
  • MSRV Rust 1.70, sử dụng Rust 2021 Edition.
  • Không hỗ trợ Godot 4: đã chuyển sang dự án godot-rust/gdext.

💡 Vì sao đáng chú ý

gdnative từng là cầu nối chính để dùng Rust với Godot 3. Thay vì viết GDScript hoặc C++, nhà phát triển có thể xây dựng module bằng Rust — hưởng lợi từ memory safety và hiệu suất gần native mà không phải đánh đổi trải nghiệm làm việc trong engine.

Tuy nhiên, dự án đã ngừng bảo trì sau khi Godot 4 ra mắt tháng 3/2023. Người dùng được khuyến nghị chuyển sang godot-rust/gdext — successor với nhiều cải thiện về safety và quality-of-life. Người dùng Linux cũng cần lưu ý dùng binary chính thức từ godotengine.org thay vì bản đóng gói qua Flatpak, Snap hay AppImage để tránh lỗi tương thích.


#Rust #Godot #GDNative #Gamedev #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
bevyengine/bevy

A refreshingly simple data-driven game engine built in Rust

49.3k
Oct 26, 2026
RepositoryC++
godotengine/godot

Godot Engine – Multi-platform 2D and 3D game engine

119.0k
Oct 23, 2026
RepositoryShell
Donchitos/Claude-Code-Game-Studios

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

27.7k
Oct 19, 2026
RepositoryRust
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

31.7k
Oct 22, 2026
RepositoryJavaScript
phaserjs/phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

40.5k
Aug 21, 2026
RepositoryJavaScript
4ian/GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

28.1k
Oct 26, 2026
RepositoryRust
kitao/pyxel

A retro game engine for Python

18.4k
Oct 23, 2026
RepositoryRust
FyroxEngine/Fyrox

3D and 2D game engine written in Rust

9.6k
Oct 24, 2026
RepositoryRust
godot-rust/gdext

Rust bindings for Godot 4

5.3k
Oct 19, 2026