+2 votes

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?

in Engine by (33 points)

1 Answer

+4 votes
Best answer

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.

by (341 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 Frequently asked questions and 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 [email protected] with your username.