gdext-nim

Nim for GDExtension — a pure library and CLI tool.

24 articles 185 View on GitHub ↗
24 articles
How to Create a New Extension Class That Inherits From Built-In Godot Classes in gdext-nim

Learn to create new extension classes inheriting from Godot classes in gdext-nim. Define Nim types, annotate with gdsync, and register them in your bootstrap file.

how-to-guide
Mar 2, 2026
Configuration Options in config.nims for gdext Projects: Complete BuildSettings Guide

Master your gdext builds with config.nims. Learn how to configure extension metadata, target platforms, and CPU architectures for Godot projects.

deep-dive
Mar 2, 2026
How to Handle Godot Object Callbacks like `_ready` and `_process` in gdext-nim

Learn to handle Godot callbacks like _ready and _process in gdext-nim by overriding virtual functions with the {.gdsync.} pragma. Integrate Nim with Godot seamlessly.

how-to-guide
Mar 2, 2026
Understanding Static Events in gdext-nim: Compile-Time Initialization Callbacks

Learn how to use static events in gdext-nim for compile-time initialization callbacks. Explore macros like execon and expandEvent for zero-overhead registration.

deep-dive
Mar 2, 2026
How the gdext-nim Internal Bridge Communicates Between Nim and Godot’s C++ API

Understand how the gdext-nim internal bridge connects Nim and Godot's C++ API. Discover its thin C-level translation layer and callbackTable for seamless integration.

internals
Mar 2, 2026
How to Export gdext-nim Extensions to WebAssembly Using Emscripten

Export gdext nim extensions to WebAssembly efficiently. Configure Emscripten, compile with gdextwiz, and enable Godot HTML5 export settings for a seamless web integration.

how-to-guide
Mar 2, 2026
Why Editor Plugins Are Not Fully Supported in Pure Nim (and Workarounds)

Discover why pure Nim struggles with Godot editor plugins and explore essential workarounds. Learn how to bridge the gap and enhance your Godot development workflow.

internals
Mar 2, 2026
How to Configure Debug, Release, and Editor Build Targets with gdextwiz

Easily configure debug, release, and editor build targets with gdextwiz using the -d:target flag. Generate optimized or editor-specific binaries for your Godot-Nim projects. Learn how to customize your builds efficiently.

how-to-guide
Mar 2, 2026
How Extension Entry Point Initialization Works in gdext-nim

Discover how gdext-nim initializes its extension entry point. Learn how the init_library function bootstraps the Godot API and registers your custom code.

internals
Mar 2, 2026
String vs StringName vs NodePath in gdext-nim: Key Differences and When to Use Each

Understand String vs StringName vs NodePath in gdext-nim. Learn when to use each for efficient text handling, fast lookups, and scene tree navigation.

deep-dive
Mar 2, 2026
How to Use Typed Arrays versus Packed Arrays in gdext-nim

Learn when to use typed arrays Array[T] versus Packed*Array in gdext-nim. Optimize performance with homogeneous primitive storage or flexible Variant collections.

how-to-guide
Mar 2, 2026
How gdext Handles Memory Management and Reference Counting for Godot Objects

Learn how gdext manages Godot object memory and reference counting. It delegates to Godot's engine, ensuring precise cleanup via Nim wrappers for efficient development.

internals
Mar 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →