Language Support & Bindings
Although the core Spatioz Engine is designed to run efficiently on low-level environments, we provide first-class bindings for multiple platforms to accommodate web, server, and embedded integrations.
1. Native Implementations
JavaScript / TypeScript (ES6+)
- Primary Target: Web interfaces, visualizers, sandboxes, and node-based servers.
- Dependency-Free: Compiles down to standard browser-compliant code without external module requirements.
C++ (C++17)
- Primary Target: Embedded robotics, real-time control units, and performance-critical simulations.
- Zero-Allocation: Designed to avoid dynamic heap allocation after initialization, ensuring deterministic execution time.
2. Platform Bindings & Wrappers
To integrate Spatioz into existing application stacks, you can use our bindings:
graph TD
Core[C++ Core Engine] -->|WebAssembly / N-API| JS[JavaScript Binding]
Core -->|C-FFI| Python[Python Wrapper]
Core -->|Direct Compilation| Embedded[Microcontrollers / STM32 / ESP32]
Python Bindings (PySpatioz)
For research, data science, and integration into machine learning workflows.
import pyspatioz
# Load configurations
kernel = pyspatioz.RelationalKernel.load_yaml("config.yaml")
# Evaluate step
outputs = kernel.step({
"sensor_1": 0.85,
"sensor_2": -0.4
})
print("Resolved commands:", outputs)