0 votes

When we compile a project, is the C# code compiled or is it somehow turned into C++ like Unity does? but not just C#, but any other language as well.

Godot version Godot_v3.4-stable_mono_win64
in Engine by (19 points)

1 Answer

+1 vote
Best answer

Godot does not compile C# code to C++ when exporting. It's compiled into a C# assembly DLL instead.

By default, GDScript is compiled to bytecode when exported. This doesn't improve run-time performance; it only speeds up loading slightly. You can change the script export mode in the Export dialog.

by (11,899 points)
selected by
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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.