Nim for GDExtension — a pure library and CLI tool.
nimble install gdext
mkdir testproject && cd $_
touch project.godot
gdextwiz new-extension MyExtension
gdextwiz run
Editor plugins cannot be written using pure Nim alone.
To create an editor plugin, your extension class must be properly wrapped in GDScript and integrated via a plugin.cfg file. This setup is currently not automated.
Due to engine constraints, Nim code is executed only when called from the engine.
It is not possible to run Nim as a standalone Godot application entry point.
Nim and GDScript have very similar syntax, making porting between them relatively straightforward.
|
|

Guntur Sarwohadi (@guntur-ctech) reports that optimizing the build configuration for a simple port can yield performance gains of up to 6×.
https://github.com/guntur-ctech/simulation-performance-comparison
Installs the gdext library and its CLI tool gdextwiz.
nimble install gdext
The gdextwiz tool will be installed to ~/.nimble/bin, which is automatically added to your PATH if you've installed Nim via the official method.
Removes the library and CLI tool:
nimble uninstall gdext
Use gdextwiz to create, build, and run your GDExtension projects from the command line.
📘 For detailed usage and subcommands, see the gdextwiz manual.
choosenim.
This is because Godot requires a native AArch64/ARM64 binary, while choosenim installs an x86_64 version that runs via Rosetta emulation.[!NOTE] Support for other environments depends on community feedback. Please consider contributing your findings!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Nim
99.1%
Nim for GDExtension — a pure library and CLI tool.
nimble install gdext
mkdir testproject && cd $_
touch project.godot
gdextwiz new-extension MyExtension
gdextwiz run
Editor plugins cannot be written using pure Nim alone.
To create an editor plugin, your extension class must be properly wrapped in GDScript and integrated via a plugin.cfg file. This setup is currently not automated.
Due to engine constraints, Nim code is executed only when called from the engine.
It is not possible to run Nim as a standalone Godot application entry point.
Nim and GDScript have very similar syntax, making porting between them relatively straightforward.
|
|

Guntur Sarwohadi (@guntur-ctech) reports that optimizing the build configuration for a simple port can yield performance gains of up to 6×.
https://github.com/guntur-ctech/simulation-performance-comparison
Installs the gdext library and its CLI tool gdextwiz.
nimble install gdext
The gdextwiz tool will be installed to ~/.nimble/bin, which is automatically added to your PATH if you've installed Nim via the official method.
Removes the library and CLI tool:
nimble uninstall gdext
Use gdextwiz to create, build, and run your GDExtension projects from the command line.
📘 For detailed usage and subcommands, see the gdextwiz manual.
choosenim.
This is because Godot requires a native AArch64/ARM64 binary, while choosenim installs an x86_64 version that runs via Rosetta emulation.[!NOTE] Support for other environments depends on community feedback. Please consider contributing your findings!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Nim
99.1%