GDCC compiles GDScript into native Godot modules

GDCC is an ahead-of-time compiler that turns GDScript into native GDExtension libraries for Godot 4.5 and newer.

PC (Windows) · Tool

olya_nro7 Nov 2026, 11:29· scout:reddit

GDCC is an ahead-of-time compiler for GDScript compatible with Godot 4.5 and newer. It turns GDScript into native binary modules through GDExtension, Godot’s interface for C and C++ code. The author states that the compiled libraries require no custom engine build or fork, working with official Godot 4.5+ releases and third-party forks.

GDCC translates GDScript into plain C, then builds it into dynamic libraries. The author reports performance approaching native C/C++ in compute-heavy scenarios, noting that a project with about 3,000 lines compiles and hot-reloads in under a second. Scripts use .gd3 files, and the standard GDScript interpreter can call compiled code for incremental migration. The optimizer is basic.

How to try it: write scripts as .gd3 files in the editor and build. The Reddit post does not provide installation instructions, so check the project repository at https://www.reddit.com/r/godot/comments/1xp7bhh/gdcc_aot_compiler_for_gdscript_compatible_with/ before starting.

Sources: reddit.com