–1 vote

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

https://github.com/cart/godot3-bunnymark

If Rust is easier than C++ and achieves better performance, why not use it?

asked Apr 8, 2018 in Engine by Joe0239 (188 points)
edited Apr 8, 2018 by Joe0239

2 Answers

0 votes

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:
https://github.com/GodotNativeTools/godot-rust

answered Apr 8, 2018 by kidscancode (17,164 points)

"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.

–1 vote

Please no, I feel the Godot devs should be bringing stability and bug-fixes to the current system before introducing another edge-case feature.

answered Apr 8, 2018 by SleepyTom (134 points)

It seems pretty stable to me.

Ok, but how long have you been using it?

Godot 3.0 doesn't work under linux mint with Intel graphics cards

Web HTML5 export doesn't work properly across browsers, including Microsoft Edge on Windows 10, Chrome on Linux Mint, Firefox on Linux Mint

Documentation is rubbish and lacking.

The Godot devs want it to be taken as a serious engine. It doesn't need more languages added at the moment, it needs polish and tidying-up.

I didn't realise as I don't use GNU/Linux and I have not used those features so I apologise.

Godot 3.0 dot work under linux Ubuntu with Intel graphics cards.

Documentation is good, a lot better than other open source projects.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.