Is GDScript compiled or interpreted? What about VisualScript?

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

I was wondering how does Godot execute GDScript and VisualScript, is it transpiled to C#/C/C++, complied directly to machine code, or is it interpreted at runtime?

:bust_in_silhouette: Reply From: 807

You can precompile scripts to bytecode but GD/VS scripts are always interpreted at runtime. Godot3 will have typed gdscript and/or just in time compilation. I don´t know how mono runtimes works (Is C# precompiled?) but with GDNative you have C++ compiled scripts and compiled libraries integration.