If Godot was written in Rust instead of C++, what would it be like?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Joe0239

If Godot was written in Rust instead of C++, what would be the differences, would it be better, worse, faster, slower, what differences would the user experience?

:bust_in_silhouette: Reply From: literalcitrus

Probably a lot more brown at least.

All kidding aside, I think any differences between a Rust implementation and the current C++ implementation would be negligible at best. Given that most users are using GDScript to code their games, the layer of abstraction that this provides means that whatever Godot is written on doesn’t really affect the end result for games made in the engine.

However, one pretty major caveat with Rust vs C++ is age. This isn’t a major problem if you’re simply starting a project today, but Godot “started” development in 2001. Given that Rust didn’t even exist back then, there’s definitely been an advantage to Godot being on C++ this whole time - we might still be on 1.0 if Godot development started when Rust was released.

Lol xDD

Thanks mate :slight_smile:

Joe0239 | 2018-02-15 00:17