Which Language should I use when scripting, C# or GDnative (C++)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Joe0239
:warning: Old Version Published before Godot 3 was released.

What are the cons and pros of using GDnative over C# in Godot 3.0?

GDScript is still the main language of Godot 3 (and btw got some syntax sugar with the new release)

timoschwarzer | 2017-12-07 09:16

That’s not what I am asking, I am asking generally which language should I use to script. I know you can use both C++ and C# but which one is better?

Joe0239 | 2017-12-07 10:48

Yes and I just wanted to mention that there is not only C# and C++.

timoschwarzer | 2017-12-07 12:55

Yes I know and I am only interested in the difference between C# and C++?

Joe0239 | 2017-12-07 13:16

If you want to program in C++, that’s fine. If you need to think about speed and memory management, C++ is the way to go. Of course, it’s more complicated, and you will have to deal with compilers and IDEs. With regards to C#, it’s a typed language that’s a bit more forgiving. Though, you may not be able to get all of the features of the Godot Engine through C# (I can’t remember if C# support has been fully implemented in 3.0).

Now if you just want to use the editor, with all of its features, go with GDscript.

Ertain | 2017-12-07 19:13

THank you very much for your help :slight_smile:

Joe0239 | 2017-12-08 12:55