C# is compiled along with the project

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

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.

:bust_in_silhouette: Reply From: Calinou

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.