Topic was automatically imported from the old Question2Answer platform.
Asked By
Joe0239
GDNative Rust is supposed to be faster than GDNative C++ as:
OOP is slower than POP (as Rust is POP)
Rust has strict compiler checks and the rust concept borrowing make a lot of common programming and memory bugs nonexistant. Though that’s not to say you can’t have bugs in rust.
Easier to code than C++
A lot of people perfer to use C# or GDScript over C++ because it is easier to code in, but this easyness reduces performance, which can be seen in the bunny benchmark
If Rust is easier than C++ and achieves better performance, why not use it?
Performance is not most developers’ concern - productivity is. That’s the whole reason for GDScript, and for that matter, using a game engine in the first place.
That said, GDNative lets people make bindings for whatever language they need. If you’re really passionate about it, there’s a Rust GDNative project here you could join and participate in:
“Performance is not most developers’ concern - productivity is”
How come C# was introduced then if GDScript is already easier than C#?
Rust is easier than C++, thus making it more productive than C++ and I believe that Rust has stricter compiler checks compared to GDScript, which therefore means it is even more productive than GDScript. PLease do correct me if I am wrong.