Rejected: Binding GDExtension to a C-like Language for Libgodot to Implement a Distributed Simulation
The Context
The V-Sekai development team is working on enhancing the simulation experience in our VR game. We aim to create a more immersive and interactive environment for our players.
The Problem Statement
We can bind GDExtension to a C-like language for libgodot to implement a distributed simulation.
Design
We propose to use godot-zig to bind GDExtension to Elixir. This will allow us to use the power of Elixir’s concurrency and fault-tolerance features, which are ideal for creating distributed simulations.
The Benefits
- Enhanced simulation performance due to Elixir’s efficient handling of concurrent processes.
- Improved fault tolerance, as Elixir’s supervisor trees can automatically recover from errors.
- Increased developer productivity, as Elixir’s syntax is concise and expressive.
The Downsides
- Requires learning a new programming language (Elixir), which may increase the development time initially.
- Potential compatibility issues between Elixir and existing parts of the system.
The Road Not Taken
We considered using other languages like Rust or Go, but they did not offer the same level of concurrency and fault-tolerance features as Elixir.
The Infrequent Use Case
This proposal may not be suitable for smaller projects that do not require complex distributed simulations.
In Core and Done by Us
The V-Sekai development team will implement this proposal.
Status
Status: Rejected
Decision Makers
- V-Sekai development team
Further Reading
(Godot-Zig 2026): “godot-zig.” https://github.com/godot-zig/godot-zig (Zigler 2026): “zigler.” https://github.com/E-xyza/zigler
Assisted by Aria.